From 622ea708ef80c3044838f32837254c6f74fe793e Mon Sep 17 00:00:00 2001 From: sabetts Date: Tue, 5 Jun 2001 09:07:18 +0000 Subject: * src/manage.c (hide_window): ignore only StructureNotify events. * src/data.h (WIN_EVENTS): Add StructureNotifyMask. * src/events.c (unmap_notify): ignore SubstructureNotify unmaps. --- src/manage.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/manage.c') diff --git a/src/manage.c b/src/manage.c index 8a7effc..030693c 100644 --- a/src/manage.c +++ b/src/manage.c @@ -501,8 +501,7 @@ hide_window (rp_window *win) if (win == NULL) return; /* Ignore the unmap_notify event. */ - XSelectInput(dpy, win->w, - WIN_EVENTS&~(StructureNotifyMask|EnterWindowMask)); + XSelectInput(dpy, win->w, WIN_EVENTS&~(StructureNotifyMask)); XUnmapWindow (dpy, win->w); XSelectInput (dpy, win->w, WIN_EVENTS); set_state (win, IconicState); -- cgit v1.2.3