awesome/objects
Uli Schlachter 20ca989333 Ignore more events while minimizing a client
When minimizing a client, we temporarily ignore events for the client window (so
that we don't get the UnmapNotify event that we are causing for the unmap) and
for the root window (I don't actually know why, no "harmful" events should be
caused...).

However, we weren't ignoring events on the frame window itself. This commit
fixes that oversight.

The problem here is that the pointer could be inside the window that is being
minimized. When we then unmap said window, the pointer will now be inside of the
frame window and the X11 server will thus generate an EnterNotify. When we
handle this event later on, we emit mouse::enter on the client and e.g. the
default config then focuses this client, which undoes the minimization.

This fixes a regression introduced in commit 3aeac3870c and fixes #92.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-02-25 21:52:03 +01:00
..
button.c Clean up header includes 2014-03-30 20:07:48 +02:00
button.h Clean up header includes 2014-03-30 20:07:48 +02:00
client.c Ignore more events while minimizing a client 2015-02-25 21:52:03 +01:00
client.h Remove urgent state for already focused client 2015-01-10 20:57:49 +01:00
drawable.c drawable/drawin: Pass both lua_State and stack index around 2014-12-06 10:46:45 +01:00
drawable.h drawable/drawin: Pass both lua_State and stack index around 2014-12-06 10:46:45 +01:00
drawin.c drawin: Use the correct lua_State for the stack index 2014-12-06 10:55:21 +01:00
drawin.h Clean up header includes 2014-03-30 20:07:48 +02:00
key.c Clean up header includes 2014-03-30 20:07:48 +02:00
key.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
screen.c Send old_screen with "property::screen" client signal 2015-02-15 13:26:46 +01:00
screen.h Clean up header includes 2014-03-30 20:07:48 +02:00
tag.c Hide globalconf.L 2014-12-06 11:56:58 +01:00
tag.h tag_client: Add explicit lua_State argument 2014-12-06 11:14:59 +01:00
window.c Fix some more dubious uses of globalconf.L 2014-12-06 11:07:20 +01:00
window.h Clean up header includes 2014-03-30 20:07:48 +02:00