awesome/lib
Uli Schlachter f22a69d54e Fix fullscreen clients with gravity != NorthWest (#1764)
Once upon a time, 4b9584fdb1 already fixed this problem: We have to
set the border width to zero before applying the new geometry to the
client, because changing the border width makes the client move
according to its gravity.

Then came e54387904b and made this code use awful.placement instead
of just fullscreening the client itself (without explaining why in the
commit message!). After this commit, the border width was just ignored
and left as-is. This was then fixed in 0bf8bb6a64 (no idea which
callback the commit message refers to, the old code was basically just
c.border_width=0, c:geometry(screen_geo)). However, now the border width
was again changed after the geometry and the bug that was fixed by
4b9584fdb1 was back.

This commit fixes this regression again by making sure that the border
width is set to zero before the geometry is set. This becomes slightly
more complicated, because now it is also awful.placement's job to
restore the old border width.

This is why this commit adds a new option to awful.placement so that it
sets the border width to zero after creating its memento of the old
border width.

Fixes: https://github.com/awesomeWM/awesome/issues/1607
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-05-13 23:31:14 +02:00
..
awful Fix fullscreen clients with gravity != NorthWest (#1764) 2017-05-13 23:31:14 +02:00
beautiful gears: Move awful.util.table to gears.table (#1641) 2017-03-08 15:18:33 -05:00
gears wallpaper: Turn asserts into warning 2017-04-24 03:10:03 -04:00
menubar menubar.utils: Fix for invalid utf8 file names 2017-05-01 13:26:17 +02:00
naughty Update notification size in `naughty.replace_text` (#1756) 2017-05-07 18:01:35 +02:00
wibox Add timezone option for textclock widget (#1743) 2017-04-21 16:34:23 +02:00
beautiful.lua Add pointless naughty.lua and beautiful.lua files (#1259) 2016-12-08 23:53:50 +01:00
naughty.lua Add pointless naughty.lua and beautiful.lua files (#1259) 2016-12-08 23:53:50 +01:00