From 3e78a0cd60911ab50a91a18cd0ac8fe7df13017a Mon Sep 17 00:00:00 2001 From: Reginald Kennedy Date: Sun, 7 Oct 2012 02:16:27 +0800 Subject: [PATCH] Ignore UnmapNotify if from an unmanaged child of a managed window. --- spectrwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2