Unselect events on our frame window in unmanage
This makes sure that we don't get any events from the activity of client_unmanage() after this point. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
e59086f2bf
commit
9fcf6a0a0d
|
@ -1073,6 +1073,10 @@ client_unmanage(client_t *c)
|
|||
c->window,
|
||||
XCB_CW_EVENT_MASK,
|
||||
(const uint32_t []) { 0 });
|
||||
xcb_change_window_attributes(globalconf.connection,
|
||||
c->frame_window,
|
||||
XCB_CW_EVENT_MASK,
|
||||
(const uint32_t []) { 0 });
|
||||
|
||||
xcb_screen_t *s = xutil_screen_get(globalconf.connection, c->phys_screen);
|
||||
xcb_unmap_window(globalconf.connection, c->window);
|
||||
|
|
Loading…
Reference in New Issue