X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fdata.h;h=69a79ade09faabf22bca2ddbbebef2243a65c14c;hb=d78fd8d91fa714dec5288322098dec6410927f9e;hp=410f2e0deba01202ad17292b5e1df211ae208777;hpb=fff3f79da9a87a1f790c6328f6615422f2b69b47;p=i3%2Fi3 diff --git a/include/data.h b/include/data.h index 410f2e0d..69a79ade 100644 --- a/include/data.h +++ b/include/data.h @@ -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; };