Hello,
I couldn't build awesome 3.4 today:
CMakeFiles/awesome.dir/event.c.o: In function `event_handle_unmapnotify'
/usr/local/src/builds/awesome/src/awesome-3.4.3/event.c:681: undefined
reference to `xwindow_get_state_unchecked'
/usr/local/src/builds/awesome/src/awesome-3.4.3/event.c:681: undefined
reference to `xwindow_get_state_reply'
The revert of "Handle synthetic UnmapNotify events" accidentaly replaced
window_state_get_reply and window_state_get_unchecked calls in event.c
with: xwindow_get_state_reply/unchecked respectively.
Patch (made on the 3.4 branch) is attached.
--
Adrian C. (anrxc) | anrxc..sysphere.org | PGP ID: D20A0618
PGP FP: 02A5 628A D8EE 2A93 996E 929F D5CB 31B7 D20A 0618
From 7e6334011b0fe4cd042d5fcac8175947774679ff Mon Sep 17 00:00:00 2001
From: Adrian C. (anrxc) <[email protected]>
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) <[email protected]>
---
event.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/event.c b/event.c
index 4720743..1917f65 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
--
1.6.6