openbsd-ports/x11/i3/patches/patch-src_client_c

13 lines
636 B
Plaintext

$OpenBSD: patch-src_client_c,v 1.1 2011/04/07 08:58:10 dcoppa Exp $
--- src/client.c.orig Wed Jan 19 21:26:37 2011
+++ src/client.c Wed Apr 6 12:53:48 2011
@@ -69,7 +69,7 @@ void client_warp_pointer_into(xcb_connection_t *conn,
* Returns true if the client supports the given protocol atom (like WM_DELETE_WINDOW)
*
*/
-static bool client_supports_protocol(xcb_connection_t *conn, Client *client, xcb_atom_t atom) {
+bool client_supports_protocol(xcb_connection_t *conn, Client *client, xcb_atom_t atom) {
xcb_get_property_cookie_t cookie;
xcb_get_wm_protocols_reply_t protocols;
bool result = false;