awesome/objects
Uli Schlachter 7b65f068a1 Reorder some code for fullscreening windows
When one sets a client to fullscreen, this is what currently happens:
- lua code: c.fullscreen = true
- The C code emits request::fullscreen without having touched the client's
  fullscreen property yet (c.fullscreen is still false)
- awful.ewmh changes the client's geometry to fullscreen via c:geometry()
- This causes property::geometry to be emitted
- awful.layout reacts on this and causes the screen to be re-arranged, undoing
  the fullscreen geometry set in awful.ewmh
- The C code for c.fullscreen = true continues and actually changes the client's
  fullscreen flag

The result of this is that we get a client which thinks it is fullscreen'd
without actually being that.

Fix this by first changing the client's fullscreen property and then emitting
request::fullscreen. Same thing for maximized_{vertical,horizontal}.

Thanks to Jim Pryor for reporting this bug and helping reproducing it.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-06-18 18:24:05 +02:00
..
widgets systray: fix screen number retrieval 2009-12-10 10:11:24 +01:00
button.c luaclass: take care of inheritance garbage collection 2010-05-28 13:27:49 +02:00
button.h fix tag header and order build 2010-05-28 13:28:25 +02:00
client.c Reorder some code for fullscreening windows 2010-06-18 18:24:05 +02:00
client.h client: implements maximized and fullscreen requests with Lua 2010-05-28 13:29:29 +02:00
image.c luaclass: take care of inheritance garbage collection 2010-05-28 13:27:49 +02:00
image.h fix tag header and order build 2010-05-28 13:28:25 +02:00
key.c key: split resolving in keyresolv 2010-05-28 13:28:20 +02:00
key.h fix tag header and order build 2010-05-28 13:28:25 +02:00
tag.c luaclass: take care of inheritance garbage collection 2010-05-28 13:27:49 +02:00
tag.h fix tag header and order build 2010-05-28 13:28:25 +02:00
timer.c luaclass: take care of inheritance garbage collection 2010-05-28 13:27:49 +02:00
timer.h fix tag header and order build 2010-05-28 13:28:25 +02:00
wibox.c window: import border_width property 2010-05-28 13:29:06 +02:00
wibox.h window: import border_width property 2010-05-28 13:29:06 +02:00
widget.c luaclass: take care of inheritance garbage collection 2010-05-28 13:27:49 +02:00
widget.h fix tag header and order build 2010-05-28 13:28:25 +02:00
window.c window: import border_width property 2010-05-28 13:29:06 +02:00
window.h window: import border_width property 2010-05-28 13:29:06 +02:00