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

16 lines
563 B
Plaintext

$OpenBSD: patch-awesome_c,v 1.4 2012/12/31 17:41:44 dcoppa Exp $
Revert to the old xcb-util-0.3.6 API
--- awesome.c.orig Mon Dec 24 15:36:05 2012
+++ awesome.c Mon Dec 31 11:54:55 2012
@@ -139,7 +139,7 @@ scan(xcb_query_tree_cookie_t tree_c[])
if(!attr_r || attr_r->override_redirect
|| attr_r->map_state == XCB_MAP_STATE_UNMAPPED
- || state == XCB_ICCCM_WM_STATE_WITHDRAWN)
+ || state == XCB_WM_STATE_WITHDRAWN)
{
geom_wins[i] = NULL;
p_delete(&attr_r);