Introduce --exclude-titlebar flag for mouse bindings. (#2703)
This introduces the flag --exclude-titlebar for mouse bindings which allows bindings like bindsym --whole-window --border --exclude-titlebar button3 focus fixes #2347
This commit is contained in:
committed by
Michael Stapelberg
parent
1d4e9f5de0
commit
d78fd8d91f
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user