Maarten Maathuis
04df061aa0
event: handle border size changes in configurerequest
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-16 10:30:23 +01:00
Maarten Maathuis
71bd32bcb1
event: Actually modify ev->x and ev->y for banned clients.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-16 10:29:56 +01:00
Julien Danjou
401b8ce3e9
awesome: flush after ungrabbing server
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-14 17:54:04 +01:00
Julien Danjou
c69afaed58
awful.client: new cycle() method
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-14 17:53:03 +01:00
Julien Danjou
8ec2b33fb3
awful.widget: change deprecated key
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-14 17:47:51 +01:00
Julien Danjou
e8b7bf9a18
awful.placement: return new geometry and use focused client by default
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-13 23:57:40 +01:00
Julien Danjou
7349fb56a8
awful.placement: add centered placement
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-13 23:56:26 +01:00
Gregor Best
b5db8032f9
lib/awful/menu.lua: fix widget buttons
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-13 23:49:36 +01:00
steffoz
fc394d61fc
Added fg_minimize and bg_minimize to properly color tasklist minimized clients
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-13 23:00:36 +01:00
Gregor Best
3f418ba79a
lib/awful/menu.lua: fix item buttons
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-13 22:57:14 +01:00
Gregor Best
10bfb36d4b
wibox: add mouse_enter and mouse_leave for wibox
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-13 22:54:36 +01:00
Julien Danjou
d2fc646590
change codename
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-13 13:56:38 +01:00
Julien Danjou
76b081622b
awesomerc: enhance button 1 on tasklist (FS#450)
...
This will make it work with alltags label function.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-13 11:31:20 +01:00
Julien Danjou
ada983d08e
ewmh: add missing window types
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-13 11:25:38 +01:00
Julien Danjou
af95800df1
ewmh: add support for _NET_DESKTOP_GEOMETRY
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-13 10:57:42 +01:00
Mariusz Ceier
96ea073fc6
ewmh.c: Fix array size
...
If all state bits are set, ewmh_client_update_hints state buffer overflows.
Signed-off-by: Mariusz Ceier <mceier@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-11 19:27:44 +01:00
Gregor Best
050a6bbb61
client: add client_seturgent() and remove urgent hint on focus
...
According to EWMH, the window manager is responsible for removing the
urgent state of a client. Also, this commit adds a new
client_seturgent(client_t *, bool) function to set the urgent state if
needed.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-11 19:04:09 +01:00
Mariusz Ceier
01eff69bf4
client: fix focus subsystem
...
We don't need to unfocus currently selected client.
Added WM_TAKE_FOCUS atom, so we can implement correct ICCCM,
focus behavior, in relation to Input Models ( sections 4.1.7 [1],
4.2.7 [2] ).
Currently correctly implemented are, "No Input", and "Passive"
models, and additionally works "Locally Active".
To test focus-in and focus-out events I used program from [3].
[1] http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.7
[2] http://tronche.com/gui/x/icccm/sec-4.html#s-4.2.7
[3] http://mail.gnome.org/archives/gtk-devel-list/2001-November/msg00334.html
Signed-off-by: Mariusz Ceier <mceier@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-11 18:54:02 +01:00
Maarten Maathuis
93386ff08f
mouse: only reserve "docking space" along the largest dimension of the window.
...
- This avoids a nasty issue with fullheight toolbars.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-11 01:56:58 +01:00
Maarten Maathuis
fdee06fe31
client: fix titlebar stacking
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-11 01:56:57 +01:00
Maarten Maathuis
8e58460109
client: add above and below to capi + related fixes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-09 12:30:19 +01:00
Julien Danjou
f24ddbd159
awful.hooks: disallow 0 timer value
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-09 12:14:15 +01:00
Maarten Maathuis
bd6e568083
event: fix configurerequest
...
- We have to be careful with geometry around protocol code.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-08 14:10:17 +01:00
Maarten Maathuis
0626d42396
client: change border handling slightly + remove some old cruft
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-08 14:07:18 +01:00
Maarten Maathuis
62b2273b53
client: client_isvisible_exclude_banned() isn't needed anymore.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-08 14:06:15 +01:00
Julien Danjou
21e6db0049
client: reset transient_for on unmanage
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-08 14:00:30 +01:00
Maarten Maathuis
703fd1077d
mouse: allow utility, toolbar and dock windows to snap to the edge of the window
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-08 13:21:54 +01:00
Maarten Maathuis
41b892291d
client: implement client struts in the capi.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-08 13:21:20 +01:00
Mariusz Ceier
be28925fb6
Fix killproperty and floating.delete
...
Use new API, so they don't emit lua errors:
W: awesome: luaA_dofunction:317: error running function:
/usr/share/awesome/lib/awful/client.lua:595: attempt to index field
'floating' (a nil value)
W: awesome: luaA_dofunction:317: error running function:
/usr/share/awesome/lib/awful/client.lua:761: attempt to index field
'property' (a nil value)
Signed-off-by: Mariusz Ceier <mceier@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-08 12:21:55 +01:00
Julien Danjou
ef565076d7
build: remove useless dep
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-07 16:40:15 +01:00
Maarten Maathuis
247852f4de
titlebar: remove some old/unneeded code
...
- This fixes the resize upon titlebar removal issue.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-07 15:45:07 +01:00
Julien Danjou
a47d0d9924
awful.mouse: be smarter when moving between screens (FS#419)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-07 15:40:50 +01:00
Julien Danjou
b294eb990e
screen: do arrange, even if we do not resize
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-07 15:39:35 +01:00
Julien Danjou
ee382dc5a8
awful.client: use property for floating registering
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-07 15:26:46 +01:00
Julien Danjou
fa9e31a2d4
awful.client: add property system
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-07 15:19:27 +01:00
Maarten Maathuis
24599aa198
client: update client geometry when adding and removing titlebars
...
- This fixes titlebars again.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-06 22:46:25 +01:00
Maarten Maathuis
2e8071efae
titlebar: don't resize window when adding titlebar.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-06 22:46:25 +01:00
Gregor Best
ef6d6dd12c
awful.hooks: finally and for the last time fix timer removal
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-06 22:23:47 +01:00
Julien Danjou
90241e4076
change codename
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-06 17:43:56 +01:00
Gregor Best
321741b0ac
awful.hooks: repair fix for timer removal
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-06 17:24:10 +01:00
Gregor Best
bc1a2f5448
awful.hooks.timer: fix timer removal
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-06 15:52:59 +01:00
Julien Danjou
dd2c62721c
tag: add compatibility with old constructor proto
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-06 11:55:09 +01:00
Julien Danjou
e0754de9cb
naughty: set icon valign to center
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-05 18:10:19 +01:00
Julien Danjou
2c6dc1048d
titlebar: correctly ban/unban (FS#443)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-05 17:55:59 +01:00
Julien Danjou
a13f3fe553
client: handle tags assignment in awful (FS#441)
...
This also deactivate group management. This can be done in Lua now.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-03 12:20:17 +01:00
Maarten Maathuis
b8a371864b
client, titlebar: fix some issues involving titlbars and dialogs.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-03 10:32:00 +01:00
Maarten Maathuis
88713851ab
event: Prevent seeing banned clients on the visible screen.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-03 10:30:23 +01:00
Julien Danjou
6c963a6eed
client: check tags even after transient/group tag copy (FS#434)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-03 10:24:04 +01:00
Julien Danjou
ae6a598911
awful.titlebar: document modkey argument
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-02 09:51:28 +01:00
Julien Danjou
e0a5995fe6
awful.titlebar: allow titlebar on dialogs (FS#439)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-02 09:28:45 +01:00