mirror of
https://github.com/vale981/spectrwm
synced 2025-03-05 09:51:38 -05:00
no point in setting state on an already destroyed window.
it just produces an error. ok lordreg
This commit is contained in:
parent
59681aa346
commit
a809812e18
1 changed files with 0 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue