$OpenBSD: patch-objects_client_h,v 1.3 2013/10/15 09:28:46 dcoppa Exp $

Revert to the old xcb-util-0.3.6 API

--- objects/client.h.orig	Sat Oct 12 18:48:49 2013
+++ objects/client.h	Tue Oct 15 09:51:13 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 */
@@ -212,8 +212,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
