JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Never unmange windows when unmapping.
authorMarco Peereboom <marco@conformal.com>
Wed, 23 Sep 2009 04:55:46 +0000 (04:55 +0000)
committerMarco Peereboom <marco@conformal.com>
Wed, 23 Sep 2009 04:55:46 +0000 (04:55 +0000)
scrotwm.c

index a49a433..8e7c356 100644 (file)
--- a/scrotwm.c
+++ b/scrotwm.c
@@ -3397,13 +3397,8 @@ void
 unmapnotify(XEvent *e)
 {
        XDestroyWindowEvent     *ev = &e->xdestroywindow;
-       struct ws_win           *win;
 
        DNPRINTF(SWM_D_EVENT, "unmapnotify: window: %lu\n", e->xunmap.window);
-
-       if ((win = find_window(ev->window)) != NULL)
-               if (win->transient)
-                       unmanage_window(win);
 }
 
 void