Uli Schlachter
27173163cb
client: Apply the whole geometry before emitting the signals
...
This resolve a possible race condition where the size could be
invalid when queried from a signal callback.
Fix #1456
2017-02-07 11:12:40 -05:00
Emmanuel Lepage Vallee
51ddb5639e
mouse: Handle `maximized` client like `fullscreen` ones.
...
There is already a way to prevent them from moving them, but the
next few commits will remove it. There is no reasons to handle
this differently from fullscreen clients.
2017-02-07 11:12:40 -05:00
Yauhen Kirylau
c1cd968803
import vim hotkeys from user config, not hotkeys_popup module ( #1432 )
2017-02-07 13:50:52 +01:00
Daniel Hahler
52170f575f
test-current-desktop: make wait_for_current_desktop fail directly ( #1516 )
...
We should get the expected state before already.
Ref: https://github.com/awesomeWM/awesome/issues/1495#issuecomment-277098634
2017-02-06 19:55:08 +01:00
Emmanuel Lepage Vallée
206a5f664f
Merge pull request #1529 from actionless/menubar-fix-menu-refresh-with-query
...
fix(menubar): use current query after refreshing entries list
2017-02-06 13:19:13 -05:00
Emmanuel Lepage Vallée
3bff1ef730
Merge pull request #1527 from actionless/awful-hotkeys-tests
...
test(awful: hotkeys_popup): add a minimal test
2017-02-05 18:00:21 -05:00
Yauhen Kirylau
f9208eb421
chore(themes: default): return back legacy png assets (for compatibility with old theme) ( #1528 )
...
closes #1473
2017-02-05 23:39:25 +01:00
actionless
4c3b63009c
fix(menubar): use current query after refreshing entries list
...
closes #1421
2017-02-05 22:06:29 +01:00
actionless
3cc613fa20
test(awful: hotkeys_popup): add a minimal test
2017-02-05 21:32:43 +01:00
Emmanuel Lepage Vallée
6416045baa
Merge pull request #1526 from Elv13/rem_in_readme
...
doc: Removed remaining references to .lua.in files
2017-02-05 12:26:40 -05:00
Emmanuel Lepage Vallee
528ab6c7cf
doc: Removed remaining references to .lua.in files
...
The .in is no longer used
Fix #1525
2017-02-05 12:16:27 -05:00
Emmanuel Lepage Vallée
1385243ea5
Merge pull request #1521 from psychon/fix-client-shapes
...
Fix client shape handling
2017-02-04 10:56:25 -05:00
Daniel Hahler
8ca08981b8
Travis: fix travis_run_in_fold ( #1522 )
...
It seems that when running travis_fold_end in case of a failure the
Travis job will be marked as "errored", but not "failed".
Ref: https://github.com/awesomeWM/awesome/pull/1516#issuecomment-277448575
2017-02-04 16:35:53 +01:00
sudo-nice
c003f7ba78
doc: mention to select a tag on awful.tag.add ( #1520 )
...
Ref: https://github.com/awesomeWM/awesome/issues/1509#issuecomment-276941061 .
2017-02-04 15:13:12 +01:00
Uli Schlachter
130acf1c00
Fix client shape handling
...
The functions awful.client.shape.update.bounding and .clip handle both
the client's shape and the shape set by Lua. However,
awful.client.shape.update.all only handles the shape set by Lua and
ignores the client's own shape. This can easily be noticed with xeyes.
When update.all ran last and you move around xeyes, the wallpaper behind
it is moved along, because it is not actually outside of the window.
Fix this by partly reverting 1a5f6b7ad2
and having update.all just
call the other two functions again.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-02-04 07:20:56 +01:00
copycat-killer
1a5f6b7ad2
client: Allow clients to have shapes
...
Also fixes awful.client.shape docs
Closes #1507
2017-02-03 17:48:28 -05:00
Emmanuel Lepage Vallée
cbd22eea50
Merge pull request #1475 from psychon/input-shape-support
...
Input shape support
2017-02-03 12:25:56 -05:00
Emmanuel Lepage Vallée
eae81ea8fe
Merge pull request #1515 from blueyed/fix-test-current-desktop
...
test-current-desktop: add extra step when killing a client
2017-02-03 12:24:07 -05:00
Emmanuel Lepage Vallée
7adc825a40
Merge pull request #1519 from sudo-nice/master
...
doc: reflect the actual way to get client object
2017-02-03 12:23:37 -05:00
Sudo Nice
21906afb5d
doc: reflect the actual way to get client object
2017-02-03 18:47:21 +03:00
Daniel Hahler
d005640f92
test-current-desktop: add extra step when killing a client
...
Ref: https://github.com/awesomeWM/awesome/issues/1495#issuecomment-277098634
2017-02-02 23:02:54 +01:00
Uli Schlachter
aaea976108
layoutbox: Update when a tag's screen changes ( #1505 )
...
In theory it would be enough to only update the old and new screen of
the tag whose screen changed. However, we cannot easily get the old
screen, so just update all layoutboxes.
Fixes: https://github.com/awesomeWM/awesome/issues/1503
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-02-02 22:45:33 +01:00
getzze
c0c083bf7d
hotkeys_popup: add custom keys to existing groups ( #1504 )
2017-02-02 22:44:24 +01:00
Kevin Zander
e1aacfaa22
awful.wibar: move wibar:remove() call outside of loop over all wiboxes ( #1501 )
...
Removing a wibar mid-loop will corrupt the indexing of the for loop and can
cause other wibars from being removed.
2017-02-02 22:42:20 +01:00
Uli Schlachter
d494b87fb7
tests/_client.lua: Improve error with Gtk 2 ( #1506 )
...
In Gtk 2, the "first" argument to set_geometry_hints() is not optional.
However, this code does not provide any argument here. Improve the error
message in this case by checking for Gtk 3.
Reference: https://github.com/awesomeWM/awesome/issues/1495
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-02-02 22:30:04 +01:00
Emmanuel Lepage Vallée
5439c34723
Merge pull request #1513 from Elv13/merge_copycat
...
object/client.c: added position and size properties
2017-02-02 13:29:42 -05:00
Luke Bonham
ff47b0d0c4
object/client.c: added position and size properties
...
added client signals connection
added comments doc
2017-02-02 13:09:03 -05:00
Emmanuel Lepage Vallée
6c248485db
Merge pull request #1492 from actionless/clone-awful-key-data
...
fix(awful: key): clone table with user data
2017-01-31 10:52:57 -05:00
Emmanuel Lepage Vallée
22057dcbde
Merge pull request #1488 from boxofrox/fix/porting-guide-code-blocks
...
Fix/porting guide code blocks
2017-01-31 10:52:06 -05:00
actionless
79a60b3009
fix(awful: key): clone table with user data
...
closes #1401
fix(tests: awesomerc): use `awful.key.execute` instead of local helper function
2017-01-30 18:19:24 +01:00
Justin Charette
cc5c4147d9
doc: fix pr 1486 formatting (ldoc bug) with nbsp (0xa0)
...
ldoc formatting has problems with code block lines that start with
spaces. use non-blocking-space (unicode 0xa0) as a work around.
Signed-off-by: Justin Charette <charetjc@gmail.com>
2017-01-29 14:31:13 -05:00
boxofrox
420f672661
doc: porting guide corrections, addition, and cleanup ( #1486 )
...
- added note that `awesome.quit` must be wrapped in an anonymous
function when used as a menu command.
- corrected tasklist diff to include missing lines from rc.lua. the
porting guide code doesn't make much sense otherwise.
- cleaned up diff columns on a couple other code blocks.
Signed-off-by: Justin Charette <charetjc@gmail.com>
2017-01-29 14:59:57 +01:00
Emmanuel Lepage Vallée
a1a5e18b62
Merge pull request #1483 from blueyed/rules-remove-duplicate-placement
...
rules: remove duplicate handling of placement props
2017-01-28 21:55:13 -05:00
Uli Schlachter
5191fcbdd2
beautiful.theme_assets: Use screen geometry instead of workarea ( #1462 )
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-01-28 15:05:53 +01:00
Holger Schurig
bf2c1993db
doc: fix signals ( #1455 )
...
- rule reordering was mentioned twice in the NEWS
- fix all shown luadoc errors
- add missing descriptions for signals in module "awesome"
2017-01-28 15:03:56 +01:00
Emmanuel Lepage Vallee
1a7c816182
doc: Fix the progressbar examples indentation
...
Correctly, this time
2017-01-27 19:28:46 -05:00
Daniel Hahler
b43918613a
rules: remove duplicate handling of placement props
...
Fixes https://github.com/awesomeWM/awesome/issues/1481 .
2017-01-27 18:00:19 +01:00
Uli Schlachter
de4715cacd
Merge branch 'find-fallback-config' of https://github.com/psychon/awesome
2017-01-27 17:39:30 +01:00
Uli Schlachter
f22fc67fb5
Merge branch 'theme-path' of https://github.com/psychon/awesome
2017-01-27 17:39:04 +01:00
Uli Schlachter
df8346ceae
Merge branch 'export-paths' of https://github.com/psychon/awesome
2017-01-27 17:36:55 +01:00
Uli Schlachter
63acf70489
Merge branch 'clarify-randr-version' of https://github.com/psychon/awesome
2017-01-27 17:36:53 +01:00
Daniel Hahler
dd339fd62a
naughty: mouse: only react on release events
...
Fixes https://github.com/awesomeWM/awesome/issues/1445 .
2017-01-27 17:35:50 +01:00
Uli Schlachter
9922c3c8e9
Explicitly try the default configuration
...
Up to now we assumed that the default config is in a path where
xdgConfigFind() finds it. However, evidently this is not always the
case, so make this explicitly try the default configuration file.
Fixes: https://github.com/awesomeWM/awesome/issues/1346
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-01-26 15:18:37 +01:00
Uli Schlachter
b9b59be816
CMakeLists.txt: Inline some once-used variables
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-01-26 15:17:21 +01:00
Emmanuel Lepage Vallée
5a914b3496
Merge pull request #1198 from psychon/wibox-shape
...
Wibox: Add gears.shape support
2017-01-26 05:30:42 -05:00
Uli Schlachter
47d69e7824
Update docs for shape_input
...
I grepped for shape_clip and edited places that needed editing.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-01-26 11:15:28 +01:00
Daniel Hahler
da69dd0864
Merge pull request #1469 from psychon/refactor-initialisation
...
Refactor Lua initialisation a bit
2017-01-26 11:13:27 +01:00
Uli Schlachter
70834848e4
Add input shape support to clients
...
I explicitly did not add client_shape_input property since querying the
input shape of the client window seems useless to me.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-01-26 11:12:41 +01:00
Uli Schlachter
614d1b0d57
Add input shape support to drawins
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-01-26 11:09:15 +01:00
Uli Schlachter
64e05c236f
xwindow: Add support for input shape from SHAPE 1.1
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-01-26 10:45:24 +01:00