]> git.sur5r.net Git - i3/i3/blobdiff - include/data.h
Introduce --exclude-titlebar flag for mouse bindings. (#2703)
[i3/i3] / include / data.h
index 410f2e0deba01202ad17292b5e1df211ae208777..69a79ade09faabf22bca2ddbbebef2243a65c14c 100644 (file)
@@ -298,6 +298,10 @@ struct Binding {
      * title bar (default). */
     bool whole_window;
 
+    /** If this is true for a mouse binding, the binding should only be
+     * executed if the button press was not on the titlebar. */
+    bool exclude_titlebar;
+
     /** Keycode to bind */
     uint32_t keycode;
 
@@ -450,6 +454,10 @@ struct Window {
     int width_increment;
     int height_increment;
 
+    /* Minimum size specified for the window. */
+    int min_width;
+    int min_height;
+
     /* aspect ratio from WM_NORMAL_HINTS (MPlayer uses this for example) */
     double aspect_ratio;
 };