$OpenBSD: patch-xwindow_c,v 1.4 2013/10/15 09:28:47 dcoppa Exp $

Revert to the old xcb-util-0.3.6 API

--- xwindow.c.orig	Mon Apr  1 13:44:46 2013
+++ xwindow.c	Fri May 24 16:58:00 2013
@@ -62,7 +62,7 @@ uint32_t
 xwindow_get_state_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)))
