JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
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 423db92..decf39c 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;