mirror of
https://github.com/vale981/spectrwm
synced 2025-03-05 09:51:38 -05:00
Fix EWMH _NET_WM_DESKTOP should be removed on withdrawn windows.
This commit is contained in:
parent
05b8c4870e
commit
60ccdcdfd5
1 changed files with 2 additions and 0 deletions
|
@ -12164,6 +12164,8 @@ unmapnotify(xcb_unmap_notify_event_t *e)
|
|||
} else {
|
||||
/* Withdraw. */
|
||||
DNPRINTF(SWM_D_EVENT, "withdraw\n");
|
||||
/* EWMH: need to remove _NET_WM_DESKTOP on withdraw. */
|
||||
xcb_delete_property(conn, win->id, ewmh[_NET_WM_DESKTOP].atom);
|
||||
set_win_state(win, XCB_ICCCM_WM_STATE_WITHDRAWN);
|
||||
unmanage_window(win);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue