mousebind: add support for more contexts and mouse events

This commit is contained in:
ARDiDo 2021-11-01 20:32:14 -04:00 committed by Johan Malm
parent 98085b4546
commit 6b948c7106
4 changed files with 89 additions and 30 deletions

View file

@ -466,6 +466,9 @@ static struct {
const char *context, *button, *event, *action, *command;
} mouse_combos[] = {
{ "TitleBar", "Left", "DoubleClick", "ToggleMaximize", NULL },
{ "Close", "Left", "Click", "Close", NULL },
{ "Iconify", "Left", "Click", "Iconify", NULL},
{ "Maximize", "Left", "Click", "ToggleMaximize", NULL},
{ NULL, NULL, NULL, NULL, NULL },
};