Ignore UnmapNotify if from an unmanaged child of a managed window.

This commit is contained in:
Reginald Kennedy 2012-10-07 02:16:27 +08:00
parent 1ddfc76bfe
commit 3e78a0cd60

View file

@ -8182,7 +8182,7 @@ unmapnotify(xcb_unmap_notify_event_t *e)
/* If we aren't managing the window, then ignore. */
win = find_window(e->window);
if (win == NULL)
if (win == NULL || win->id != e->window)
return;
ws = win->ws;