]> code.delx.au - spectrwm/commitdiff
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 60daa7226f6631feb2991e962a29892c4ab9fe98..7a16ea72bb2c13b1673f1f56e5e1d1cf3c24c53c 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)