From 6a44c60f4f0c19584505bc46af6dbe12744c18e7 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Fri, 1 Jan 2010 23:52:00 +0100 Subject: [PATCH] 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) Signed-off-by: Julien Danjou --- event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event.c b/event.c index 47207437..1917f653 100644 --- a/event.c +++ b/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