diff options
author | sabetts <sabetts> | 2001-06-05 09:07:18 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2001-06-05 09:07:18 +0000 |
commit | 622ea708ef80c3044838f32837254c6f74fe793e (patch) | |
tree | 624967ce6f5b866d64a9bcbfab888ceb160d63ba /src/events.c | |
parent | b491c9ed23c5f1345914d0ffb2cbaea9662d1d61 (diff) | |
download | ratpoison-622ea708ef80c3044838f32837254c6f74fe793e.zip |
* src/manage.c (hide_window): ignore only StructureNotify events.
* src/data.h (WIN_EVENTS): Add StructureNotifyMask.
* src/events.c (unmap_notify): ignore SubstructureNotify unmaps.
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? */ |