]> git.sur5r.net Git - i3/i3/blobdiff - include/data.h
Implement new criterion 'window_type = normal|dialog|utility|toolbar|splash|menu...
[i3/i3] / include / data.h
index 50e1f1807bfc4cf2b16459a3d154f0883024f27f..5fb9a07458e28a60d1e6ee1974d9b31a510653cd 100644 (file)
@@ -378,6 +378,9 @@ struct Window {
      * default will be 'accepts focus'. */
     bool doesnt_accept_focus;
 
+    /** The _NET_WM_WINDOW_TYPE for this window. */
+    xcb_atom_t window_type;
+
     /** Whether the window says it is a dock window */
     enum { W_NODOCK = 0,
            W_DOCK_TOP = 1,
@@ -408,6 +411,7 @@ struct Match {
     struct regex *instance;
     struct regex *mark;
     struct regex *window_role;
+    xcb_atom_t window_type;
     enum {
         U_DONTCHECK = -1,
         U_LATEST = 0,