From a809812e1850122052296f554a4789743fe2b77f Mon Sep 17 00:00:00 2001 From: David Hill Date: Sat, 14 Jul 2012 11:39:05 -0400 Subject: [PATCH] no point in setting state on an already destroyed window. it just produces an error. ok lordreg --- spectrwm.c | 3 --- 1 file changed, 3 deletions(-) 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) -- 1.7.10.4