From: David Hill Date: Sat, 14 Jul 2012 15:39:05 +0000 (-0400) Subject: no point in setting state on an already destroyed window. X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;ds=sidebyside;h=a809812e1850122052296f554a4789743fe2b77f;p=spectrwm.git no point in setting state on an already destroyed window. it just produces an error. ok lordreg --- diff --git a/spectrwm.c b/spectrwm.c index 60daa72..7a16ea7 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -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)