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:
Adrian C. (anrxc) 2010-01-01 23:52:00 +01:00 committed by Julien Danjou
parent 799c94ff48
commit 6a44c60f4f
1 changed files with 1 additions and 1 deletions

View File

@ -678,7 +678,7 @@ event_handle_unmapnotify(void *data __attribute__ ((unused)),
{ {
if(ev->event == xutil_screen_get(connection, c->phys_screen)->root if(ev->event == xutil_screen_get(connection, c->phys_screen)->root
&& XCB_EVENT_SENT(ev) && 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); client_unmanage(c);
} }
else else