awesome/lib
Uli Schlachter 9d34f2dc03 Fix awful.ewmh to handle window gravities
Since commit b2aaefd095, we correctly handle window gravities when
the border width of a client changes. Since most windows out there have a
NorthWest gravity, this means that most windows do not have this problem.
However, e.g. mplayer uses gravity "Static" and this causes this issue (any
gravity other than NorthWest will do).

This affects the fullscreen handling in awful.ewmh. The code has to set the
border width before it changes a client's geometry so that the move when the
border width changes doesn't matter.

No new integration test for this since I didn't find anything usable with a
non-NorthWest gravity. A test would be easy to write, just test if `c.fullscreen
= true ; c.fullscreen = false` restores the previous window geometry.

Fixes: https://github.com/awesomeWM/awesome/issues/697
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-17 18:16:00 +01:00
..
awful Fix awful.ewmh to handle window gravities 2016-02-17 18:16:00 +01:00
gears gears.surface: Handle the cache more intelligently 2014-04-09 21:57:30 +02:00
menubar menubar: handle nil Name in .desktop files 2016-01-29 18:30:25 +01:00
wibox wibox.layout.base.rect_to_device_geometry: Fix for "weird" rotations 2014-10-11 13:31:10 +02:00
beautiful.lua.in Expand '~' in the path for beautiful.init 2014-03-24 09:40:11 +01:00
naughty.lua.in naughty: Don't use the cache when loading icons (FS#1253) 2014-04-09 21:50:12 +02:00