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
1a5bc8e907
commit
ca9a7658a1
1 changed files with 2 additions and 0 deletions
|
@ -12200,6 +12200,8 @@ unmapnotify(xcb_unmap_notify_event_t *e)
|
||||||
} else {
|
} else {
|
||||||
/* Withdraw. */
|
/* Withdraw. */
|
||||||
DNPRINTF(SWM_D_EVENT, "withdraw\n");
|
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);
|
set_win_state(win, XCB_ICCCM_WM_STATE_WITHDRAWN);
|
||||||
unmanage_window(win);
|
unmanage_window(win);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue