JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
no point in setting state on an already destroyed window.
authorDavid Hill <dhill@conformal.com>
Sat, 14 Jul 2012 15:39:05 +0000 (11:39 -0400)
committerReginald Kennedy <rk@rejii.com>
Fri, 20 Jul 2012 21:59:29 +0000 (05:59 +0800)
it just produces an error.

ok lordreg

spectrwm.c

index 60daa72..7a16ea7 100644 (file)
@@ -6541,9 +6541,6 @@ free_window(struct ws_win *win)
        if (win == NULL)
                return;
 
-       /* needed for restart wm */
-       set_win_state(win, XCB_ICCCM_WM_STATE_WITHDRAWN);
-
        TAILQ_REMOVE(&win->ws->unmanagedlist, win, entry);
 
        if (win->wa)