$OpenBSD: patch-client_h,v 1.1 2011/11/30 11:50:58 dcoppa Exp $ Revert to the old xcb-util-0.3.6 API --- client.h.orig Wed Nov 30 11:24:03 2011 +++ client.h Wed Nov 30 11:25:08 2011 @@ -123,7 +123,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; /** Client logical screen */ screen_t *screen; /** Client physical screen */ @@ -248,8 +248,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