]> code.delx.au - spectrwm/commitdiff
Ignore UnmapNotify if from an unmanaged child of a managed window.
authorReginald Kennedy <rk@rejii.com>
Sat, 6 Oct 2012 18:16:27 +0000 (02:16 +0800)
committerReginald Kennedy <rk@rejii.com>
Sat, 6 Oct 2012 18:29:41 +0000 (02:29 +0800)
spectrwm.c

index 423db9287bd5f2012e765595e43bd1337991a68f..decf39c1bc5c9d6626d14f9dac2268a89bb9ffd0 100644 (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;