]> git.sur5r.net Git - i3/i3/blobdiff - include/x.h
Only send WM_TAKE_FOCUS when the client supports it in the protocols atom
[i3/i3] / include / x.h
index 43b0814b14d4e6384f4dccfbfad6133ecb8a33b4..da4147cc64abe3e41bab28dd609b6f9c58f18ea0 100644 (file)
@@ -39,6 +39,12 @@ void x_reinit(Con *con);
  */
 void x_con_kill(Con *con);
 
+/**
+ * Returns true if the client supports the given protocol atom (like WM_DELETE_WINDOW)
+ *
+ */
+bool window_supports_protocol(xcb_window_t window, xcb_atom_t atom);
+
 /**
  * Kills the given X11 window using WM_DELETE_WINDOW (if supported).
  *