awesome/objects
Uli Schlachter c03ee8ab36 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-28 22:58:57 +01:00
..
button.c Renamed luaL_reg to luaL_Reg 2012-06-12 10:52:10 +02:00
button.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
client.c Ignore more events while minimizing a client 2015-02-28 22:58:57 +01:00
client.h Implement icon_pixmap and icon_mask from WM_HINTS (FS#1297) 2014-12-07 14:16:55 +01:00
drawable.c Drawable: Ignore exposes when we have nothing to draw 2014-03-17 16:35:03 +01:00
drawable.h Drawable: Ignore exposes when we have nothing to draw 2014-03-17 16:35:03 +01:00
drawin.c drawin_update_drawing: Remove optimization for invisible drawins 2014-10-11 13:30:33 +02:00
drawin.h drawable: Add pixmap member 2014-03-16 20:16:35 +01:00
key.c lua_objlen wrapped in luaA_rawlen 2012-06-12 11:02:57 +02:00
key.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
tag.c Fix handling of _NET_CURRENT_DESKTOP messages (FS#1219,FS#1217) 2014-03-08 15:33:34 +01:00
tag.h Fix handling of _NET_CURRENT_DESKTOP messages (FS#1219,FS#1217) 2014-03-08 15:33:34 +01:00
timer.c Use glib instead of libev 2012-11-21 21:01:12 +01:00
timer.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
window.c window: Factor out helper functions for xproperties 2014-03-23 18:24:37 +01:00
window.h window: Factor out helper functions for xproperties 2014-03-23 18:24:37 +01:00