$OpenBSD: patch-objects_client_h,v 1.1 2013/05/22 15:05:50 dcoppa Exp $

Revert to the old xcb-util-0.3.6 API

--- objects/client.h.orig	Mon May 20 13:38:07 2013
+++ objects/client.h	Mon May 20 13:38:31 2013
@@ -99,7 +99,7 @@ struct client_t
     /** Window holding command needed to start it (session management related) */
     xcb_window_t leader_window;
     /** Client's WM_PROTOCOLS property */
-    xcb_icccm_get_wm_protocols_reply_t protocols;
+    xcb_get_wm_protocols_reply_t protocols;
     /** Key bindings */
     key_array_t keys;
     /** Icon */
@@ -214,8 +214,8 @@ client_raise(client_t *c)
 static inline bool
 client_isfixed(client_t *c)
 {
-    return (c->size_hints.flags & XCB_ICCCM_SIZE_HINT_P_MAX_SIZE
-            && c->size_hints.flags & XCB_ICCCM_SIZE_HINT_P_MIN_SIZE
+    return (c->size_hints.flags & XCB_SIZE_HINT_P_MAX_SIZE
+            && c->size_hints.flags & XCB_SIZE_HINT_P_MIN_SIZE
             && c->size_hints.max_width == c->size_hints.min_width
             && c->size_hints.max_height == c->size_hints.min_height
             && c->size_hints.max_width
