awesome/lib/awful
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
..
layout layouts: Allow layouts to be invoked with fake data 2014-11-09 00:09:24 +01:00
mouse awful.mouse.finder: Remove rounded_corners call 2015-01-10 20:29:57 +01:00
widget awful.widget.button: Override :set_image() to do the right thing 2014-09-15 14:01:54 +02:00
autofocus.lua.in Minor doc fixes 2014-03-15 08:51:59 +01:00
button.lua.in Ported awful to lua 5.2 2012-06-16 17:37:30 +02:00
client.lua.in Revert "awful.client.movetoscreen: Don't untag clients completely (FS#1196)" 2014-03-26 14:30:30 +01:00
completion.lua.in Ported awful to lua 5.2 2012-06-16 17:37:30 +02:00
dbus.lua.in Ported awful to lua 5.2 2012-06-16 17:37:30 +02:00
ewmh.lua.in Fix awful.ewmh to handle window gravities 2016-02-17 18:16:00 +01:00
init.lua.in Move size hints handling back into C (FS#1117) 2013-03-10 12:13:32 +01:00
key.lua.in Lots of random documentation fixes 2012-11-19 14:09:10 +01:00
keygrabber.lua.in Minor doc fixes 2014-03-15 08:51:59 +01:00
menu.lua.in awful.menu: update t new layout api 2015-08-29 18:01:00 +02:00
placement.lua.in awful.placement.no_offscreen: Fix border handling (FS#1065) 2012-12-16 18:11:57 +01:00
prompt.lua.in prompt: CTRL+DELETE deletes history entries 2014-03-12 10:16:27 +01:00
remote.lua.in More fixes for the recent module() removal 2012-06-17 15:24:01 +02:00
rules.lua.in Add context to request::activate signal 2014-11-09 00:07:38 +01:00
screen.lua.in awful.screen.focus: Don't move mouse to (0, 0) first (FS#1173) 2013-10-04 11:27:35 +02:00
startup_notification.lua.in Ported awful to lua 5.2 2012-06-16 17:37:30 +02:00
tag.lua.in tag.lua: add "property::icon_only" signal 2015-08-29 17:59:05 +02:00
titlebar.lua.in Add awful.titlebar.widget.minimizebutton 2013-11-03 09:47:11 +01:00
tooltip.lua.in awful.tooltip: Add (and use) :set_markup() function 2014-03-30 23:39:38 +02:00
util.lua.in Add end to end support for spawning tracking using startup notifications 2014-03-15 23:14:41 +01:00
wibox.lua.in Lots of random documentation fixes 2012-11-19 14:09:10 +01:00