diff options
Diffstat (limited to 'src/events.c')
-rw-r--r-- | src/events.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/events.c b/src/events.c index 824b98e..ac9d006 100644 --- a/src/events.c +++ b/src/events.c @@ -91,6 +91,10 @@ unmap_notify (XEvent *ev) screen_info *s; rp_window *win; + /* ignore SubstructureNotify unmaps. */ + if(ev->xunmap.event != ev->xunmap.window + && ev->xunmap.send_event != True) return; + s = find_screen (ev->xunmap.event); /* FIXME: Should we only look in the mapped window list? */ |