mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
20ca989333
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
|
||
---|---|---|
.. | ||
button.c | ||
button.h | ||
client.c | ||
client.h | ||
drawable.c | ||
drawable.h | ||
drawin.c | ||
drawin.h | ||
key.c | ||
key.h | ||
screen.c | ||
screen.h | ||
tag.c | ||
tag.h | ||
window.c | ||
window.h |