Implement window gravity in ConfigureRequests (FS#1137)
commit2d3103345e3a266eaf1d5261ef37e36ac5498ecc
authorUli Schlachter <psychon@znc.in>
Sun, 7 Apr 2013 09:57:40 +0000 (7 11:57 +0200)
committerUli Schlachter <psychon@znc.in>
Sun, 7 Apr 2013 09:57:40 +0000 (7 11:57 +0200)
treedf30e23e3c24886560efee9d8365334d77d62a03
parentddfd9c0e798db58cfde847638380fedbefbe3e27
Implement window gravity in ConfigureRequests (FS#1137)

Previously, awesome didn't move windows when they sent a ConfigureRequest (and
it also shrunk them by the size of titlebars, before it forgot to add these).
This commit adds proper gravity support to ConfigureRequest handling.

This was tested with test-gravity from metacity (in src/wm-tester).

Signed-off-by: Uli Schlachter <psychon@znc.in>
event.c
xwindow.c
xwindow.h