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

16 lines
655 B
Plaintext

$OpenBSD: patch-systray_c,v 1.1 2011/11/30 11:50:58 dcoppa Exp $
Revert to the old xcb-util-0.3.6 API
--- systray.c.orig Wed Nov 30 11:29:38 2011
+++ systray.c Wed Nov 30 11:29:51 2011
@@ -197,7 +197,7 @@ systray_request_handle(xcb_window_t embed_win, int phy
xcb_change_window_attributes(globalconf.connection, embed_win, XCB_CW_EVENT_MASK,
select_input_val);
- window_state_set(embed_win, XCB_ICCCM_WM_STATE_WITHDRAWN);
+ window_state_set(embed_win, XCB_WM_STATE_WITHDRAWN);
/* we grab the window, but also make sure it's automatically reparented back
* to the root window if we should die.