From: Reginald Kennedy Date: Sat, 6 Oct 2012 18:16:27 +0000 (+0800) Subject: Ignore UnmapNotify if from an unmanaged child of a managed window. X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=3e78a0cd60911ab50a91a18cd0ac8fe7df13017a;p=spectrwm.git Ignore UnmapNotify if from an unmanaged child of a managed window. --- diff --git a/spectrwm.c b/spectrwm.c index 423db92..decf39c 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -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;