Uli Schlachter
dc0afe9f59
Add some constructor arguments to some layouts
...
This adds new constructor arguments to align, fixed and flex which allows adding
widgets directly while creating the layout.
Idea originally by actionless:
https://github.com/awesomeWM/awesome/pull/486#issuecomment-143606301
Closes https://github.com/awesomeWM/awesome/pull/490 .
Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-10-17 14:50:46 +02:00
Uli Schlachter
532ec0cd90
Grab client keys on the client window ( #496 )
...
Before this, we grabbed the keys on the frame window. That meant we only got key
events for things that nothing else grabbed directly on the key window.
After this, we grab directly on the client window itself and so we "fight" with
everything else which wants to grab keys. I don't actually know how the winner
is decided... First come, first serve, the rest gets an error?
Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-10-16 17:30:46 +02:00
Daniel Hahler
e3253db406
Merge pull request #528 from blueyed/doc-spawn-spawn
...
Doc fixes: spawn.spawn and long/wrapped lines
Closes https://github.com/awesomeWM/awesome/pull/528 .
2015-10-14 16:26:37 +02:00
Daniel Hahler
60c21bfb4e
Merge pull request #529 from blueyed/doc-fixes
...
Some more doc fixes
Closes https://github.com/awesomeWM/awesome/pull/529 .
2015-10-14 16:25:01 +02:00
Daniel Hahler
555ccc15a8
doc: typos/grammar
2015-10-14 16:24:52 +02:00
Daniel Hahler
2932322775
doc: params for request::activate
2015-10-14 16:24:51 +02:00
Daniel Hahler
e7663e1ebd
Some doc fixes
2015-10-14 13:57:38 +02:00
Daniel Hahler
4bffa7e47e
doc: fix unintentional rendering as code due to indent
2015-10-14 00:22:26 +02:00
Daniel Hahler
22f90752f7
doc: improve doc for awful.spawn(.spawn)
2015-10-14 00:22:26 +02:00
Kazunobu Kuriyama
fbfa6b8995
menubar/icon_theme.lua: Handle scalable icons correctly
...
This bug was caused by typos.
Closes https://github.com/awesomeWM/awesome/pull/525 .
2015-10-13 22:20:43 +02:00
Daniel Hahler
1bd7aa103b
Fix signature for recursive find_icon_path_helper
...
Ref: 81072c0420 (commitcomment-13705007)
.
This reverts a part of 81072c0
.
Closes https://github.com/awesomeWM/awesome/pull/518 .
2015-10-13 22:16:01 +02:00
Daniel Hahler
37aad883a6
awful.client: handle focus history through `manage` on startup
...
After fcccc77
the focus history was not handled correctly any more during
restart.
Closes https://github.com/awesomeWM/awesome/pull/526 .
2015-10-13 22:14:24 +02:00
Daniel Hahler
2acc125354
ewmh.activate: document focus handling
2015-10-13 22:14:02 +02:00
Daniel Hahler
017660de48
Merge pull request #527 from blueyed/client-focus-history-get-stacked
...
client.focus.history.get: use stacked client list
2015-10-13 12:32:02 +02:00
Daniel Hahler
b092ef82ec
doc: clarify 'stacked' argument: top to bottom
2015-10-13 12:20:36 +02:00
Daniel Hahler
3da2508ace
client.focus.history.get: use stacking order
...
This should make it faster in general, and provides a better fallback in
case nothing was found.
Ref: https://github.com/awesomeWM/awesome/pull/526
2015-10-13 12:17:56 +02:00
Daniel Hahler
208db47b2d
Merge pull request #505 from psychon/fix_window_gravities
...
Fix window gravities
2015-10-13 11:34:37 +02:00
Daniel Hahler
c0fd79a318
Merge pull request #508 from psychon/systray_only_in_wibox
...
systray: Make sure the widget is only placed in a wibox
2015-10-13 11:34:22 +02:00
Daniel Hahler
75aea6086d
Merge pull request #509 from psychon/systray_substructure_redirect
...
Select SubstructureRedirect on our systray window
2015-10-13 11:34:12 +02:00
Daniel Hahler
71ae967a84
Merge pull request #517 from blueyed/move-is_readable_directory
...
Move is_readable_directory to awful.util.dir_readable
2015-10-11 18:21:10 +02:00
Uli Schlachter
0060ea9d63
Fix awful.screen.focus
...
This is broken since 23b2fae6a9
.
Closes https://github.com/awesomeWM/awesome/pull/516 .
Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-10-11 17:10:16 +02:00
Uli Schlachter
33f8a06594
Document "--replace" better
...
This adds it to the output of "awesome -h" and translates the version in the man
page to italian. Thanks, eri_trabiccolo for the translation!
Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-10-11 15:00:08 +02:00
Daniel Hahler
0c57cc0155
Default config: use shorter `awful.spawn`
2015-10-11 14:06:27 +02:00
Daniel Hahler
0478b946fb
Merge pull request #513 from psychon/WM_Sn_selection
...
Various selection stuff that ICCCM requires us to do.
Fixes https://awesome.naquadah.org/bugs/index.php?do=details&task_id=782 .
Fixes https://github.com/awesomeWM/awesome/issues/292 .
Closes https://github.com/awesomeWM/awesome/pull/513 .
2015-10-11 13:30:32 +02:00
Daniel Hahler
4803e1552d
Merge pull request #514 from psychon/quit_during_startup
...
Make awesome.quit() during startup work
2015-10-11 13:25:44 +02:00
Daniel Hahler
f29264064f
Merge pull request #510 from psychon/fixups_size_hints
...
Fix client_apply_size_hints()
2015-10-11 13:25:34 +02:00
Uli Schlachter
79e86d409a
Fix awful.spawn.spawn
...
The C code wants a boolean as its argument, so we should give it a boolean.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-10-11 13:23:57 +02:00
Daniel Hahler
2723399785
Move is_readable_directory to awful.util.dir_readable
2015-10-11 13:17:57 +02:00
Daniel Hahler
da92c31826
Merge branch 'fix-icon_theme' [ #515 ]
...
Closes https://github.com/awesomeWM/awesome/pull/515 .
2015-10-11 13:10:24 +02:00
Daniel Hahler
765a5f5790
menubar.icon_theme: use GLib.build_filenamev to join paths
...
This eliminates double slashes from the resulting paths.
`GLib.get_system_data_dirs` might return paths with and without trailing
slashes.
2015-10-11 13:09:33 +02:00
Daniel Hahler
e93ce7c2a8
menubar.icon_theme: minor code style fixes
...
- fix/streamline usage if metatable.__call
2015-10-11 13:09:15 +02:00
Daniel Hahler
a140d80d76
icon_theme.find_icon_path: fix typo: s/filaname/filename
2015-10-11 11:53:31 +02:00
Daniel Hahler
6902e4bf5b
Travis: fix building apidoc: add missing $
2015-10-10 23:08:26 +02:00
Daniel Hahler
aaea20170d
Default config: use new `awful.spawn.spawn`
2015-10-10 22:37:27 +02:00
Uli Schlachter
7ed29196bb
Make awesome.quit() during startup work
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-10-10 22:25:56 +02:00
Daniel Hahler
4d5a3eb3ba
Fix awful.util.spawn*/.pread deprecation wrappers
...
- Fix `util.spawn_with_shell`.
- Provide deprecation wrapper for awful.util.pread.
- Return in deprecation wrapper for awful.util.spawn*.
Closes https://github.com/awesomeWM/awesome/pull/506 .
Closes https://github.com/awesomeWM/awesome/pull/511 .
2015-10-10 22:19:45 +02:00
Uli Schlachter
f6e633eee4
Add a --replace argument
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-10-10 22:19:22 +02:00
Uli Schlachter
19111121ce
Check if WM_Sn is already owned before acquiring it
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-10-10 22:12:25 +02:00
Uli Schlachter
86313e0afd
Send an event after we acquired the WM_Sn selection
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-10-10 22:06:41 +02:00
Uli Schlachter
e824f8f30d
Exit when we loose the WM_Sn selection
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-10-10 21:59:12 +02:00
Uli Schlachter
5a17b3978c
Acquire the WM_Sn selection during startup
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-10-10 21:51:04 +02:00
Uli Schlachter
79fa6ad017
Fix client_apply_size_hints()
...
The bit that indicates that the base size is set is
XCB_ICCCM_SIZE_HINT_BASE_SIZE. However, instead this code checked
XCB_ICCCM_SIZE_HINT_P_SIZE which is set to indicate how the initial window
position is chosen. So we were checking the complete wrong bit. Whoops...
Fixes: https://github.com/awesomeWM/awesome/issues/456
Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-10-10 21:13:40 +02:00
Uli Schlachter
4daa6e8bef
Select SubstructureRedirect on our systray window
...
This ensures that systray icons cannot resize themselves. We assign them some
size and they have to deal with what they get!
Fixes: https://github.com/awesomeWM/awesome/issues/487
Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-10-10 20:34:43 +02:00
Uli Schlachter
d03762c322
systray: Make sure the widget is only placed in a wibox
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-10-10 20:30:08 +02:00
Uli Schlachter
b34a653448
Merge branch 'master' of https://github.com/everslick/awesome
2015-10-10 19:58:45 +02:00
Uli Schlachter
22305f3abf
Merge branch 'client_resize_do-prefer-current' of https://github.com/blueyed/awesome
2015-10-10 19:57:45 +02:00
Uli Schlachter
b1493c8f76
Merge branch 'enhance_menubar_icon_path_lookup' of https://github.com/nuko8/awesome
2015-10-10 19:54:23 +02:00
Uli Schlachter
e3199edca1
Merge branch 'snid_callback' of https://github.com/Elv13/awesome-1
2015-10-10 19:52:41 +02:00
Uli Schlachter
a66517bb75
Merge branch 'test-runner-for-bisect' of https://github.com/blueyed/awesome
2015-10-10 19:52:11 +02:00
Uli Schlachter
b89918d0f1
Merge branch 'remember-mouse-pos-per-screen' of https://github.com/Bew78LesellB/awesome
2015-10-10 19:51:00 +02:00