move window raise/focus on click from hard-coded logic to default mouse binding

This commit is contained in:
bi4k8 2021-12-01 23:19:04 +00:00 committed by Johan Malm
parent 11512d30af
commit a9f11c5fc7
2 changed files with 4 additions and 5 deletions

View file

@ -475,6 +475,10 @@ static struct {
{ "Root", "Left", "Press", "ShowMenu", "root-menu"},
{ "Root", "Right", "Press", "ShowMenu", "root-menu"},
{ "Root", "Middle", "Press", "ShowMenu", "root-menu"},
{ "Client", "Left", "Press", "Focus", NULL},
{ "Client", "Left", "Press", "Raise", NULL},
{ "Titlebar", "Left", "Press", "Focus", NULL},
{ "Titlebar", "Left", "Press", "Raise", NULL},
{ NULL, NULL, NULL, NULL, NULL },
};