Cleanup after revert of "Handle synthetic UnmapNotify events"
The revert accidentaly replaced window_state_get_reply and window_state_get_unchecked calls in event.c with: xwindow_get_state_reply/unchecked respectively. Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org> Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
799c94ff48
commit
6a44c60f4f
2
event.c
2
event.c
|
@ -678,7 +678,7 @@ event_handle_unmapnotify(void *data __attribute__ ((unused)),
|
|||
{
|
||||
if(ev->event == xutil_screen_get(connection, c->phys_screen)->root
|
||||
&& XCB_EVENT_SENT(ev)
|
||||
&& xwindow_get_state_reply(xwindow_get_state_unchecked(c->window)) == XCB_WM_STATE_NORMAL)
|
||||
&& window_state_get_reply(window_state_get_unchecked(c->window)) == XCB_WM_STATE_NORMAL)
|
||||
client_unmanage(c);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue