Add a --border flag to enable mouse binds to trigger on border click

This commit is contained in:
Deiz
2015-04-01 21:43:46 -04:00
parent 9eba4eecb7
commit ce48d5c5d7
8 changed files with 34 additions and 18 deletions

View File

@ -255,6 +255,10 @@ struct Binding {
B_UPON_KEYRELEASE_IGNORE_MODS = 2,
} release;
/** If this is true for a mouse binding, the binding should be executed
* when the button is pressed over the window border. */
bool border;
/** If this is true for a mouse binding, the binding should be executed
* when the button is pressed over any part of the window, not just the
* title bar (default). */