summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsabetts <sabetts>2002-02-16 10:53:29 +0000
committersabetts <sabetts>2002-02-16 10:53:29 +0000
commit6b681e4bcc5fc719ea27bd30b9547be43224e255 (patch)
treeb49c5d9f8f1d34d3bcc8584a8e7ecd68719cf83d /src
parent0ffaa2d7743832871d966190f67145651829493f (diff)
downloadratpoison-6b681e4bcc5fc719ea27bd30b9547be43224e255.zip
accidentally cut something
Diffstat (limited to 'src')
-rw-r--r--src/manage.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/manage.c b/src/manage.c
index 12699d7..4a024d3 100644
--- a/src/manage.c
+++ b/src/manage.c
@@ -675,7 +675,10 @@ hide_window (rp_window *win)
/* An unmapped window is not inside a frame. */
win->frame = NULL;
+ /* Ignore the unmap_notify event. */
+ XSelectInput(dpy, win->w, WIN_EVENTS&~(StructureNotifyMask));
XUnmapWindow (dpy, win->w);
+ XSelectInput (dpy, win->w, WIN_EVENTS);
set_state (win, IconicState);
}