mirror of
https://github.com/vale981/bspwm
synced 2025-03-06 02:01:42 -05:00
Don't introduce unfounded exceptions
This commit is contained in:
parent
afcbf4795e
commit
435727c9fa
1 changed files with 1 additions and 2 deletions
3
events.c
3
events.c
|
@ -173,8 +173,7 @@ void unmap_notify(xcb_generic_event_t *evt)
|
|||
|
||||
coordinates_t loc;
|
||||
if (locate_window(e->window, &loc)) {
|
||||
if (XCB_EVENT_SENT(evt))
|
||||
set_state(e->window, XCB_ICCCM_WM_STATE_WITHDRAWN);
|
||||
set_state(e->window, XCB_ICCCM_WM_STATE_WITHDRAWN);
|
||||
remove_node(loc.desktop, loc.node);
|
||||
arrange(loc.monitor, loc.desktop);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue