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

16 lines
563 B
Plaintext

$OpenBSD: patch-awesome_c,v 1.3 2011/11/30 11:50:58 dcoppa Exp $
Revert to the old xcb-util-0.3.6 API
--- awesome.c.orig Wed Nov 30 11:05:05 2011
+++ awesome.c Wed Nov 30 11:05:55 2011
@@ -137,7 +137,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);