openbsd-ports/x11/awesome/patches/patch-window_c

16 lines
552 B
Plaintext

$OpenBSD: patch-window_c,v 1.1 2011/11/30 11:50:58 dcoppa Exp $
Revert to the old xcb-util-0.3.6 API
--- window.c.orig Wed Nov 23 15:08:50 2011
+++ window.c Wed Nov 30 11:01:53 2011
@@ -60,7 +60,7 @@ uint32_t
window_state_get_reply(xcb_get_property_cookie_t cookie)
{
/* If no property is set, we just assume a sane default. */
- uint32_t result = XCB_ICCCM_WM_STATE_NORMAL;
+ uint32_t result = XCB_WM_STATE_NORMAL;
xcb_get_property_reply_t *prop_r;
if((prop_r = xcb_get_property_reply(globalconf.connection, cookie, NULL)))