Revert "Ignore all UnmapNotifies due to the root window"
This reverts commit0682499895
. We have to handle all the UnmapNotifies due to ICCCM. The bug this was trying to fix is now fixed by9ab8cd4039
("Set our event mask on the root window later") instead.
This commit is contained in:
parent
9fcf6a0a0d
commit
7e03e3b796
3
event.c
3
event.c
|
@ -630,9 +630,6 @@ event_handle_unmapnotify(xcb_unmap_notify_event_t *ev)
|
||||||
|
|
||||||
if((c = client_getbywin(ev->window)))
|
if((c = client_getbywin(ev->window)))
|
||||||
{
|
{
|
||||||
/* We got XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY on the root window.
|
|
||||||
* Ignore any UnmapNotifies we get due to that. */
|
|
||||||
if (ev->event == c->window)
|
|
||||||
client_unmanage(c);
|
client_unmanage(c);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue