default-bindings.h: focus & raise on border press

...because it is probably what most people expect and it makes the
behavior consistent with that of Openbox.

Fixes: #3039
This commit is contained in:
Johan Malm 2025-09-01 20:56:51 +01:00 committed by Hiroaki Yamamoto
parent f1f8782bb0
commit a9f927047a
2 changed files with 14 additions and 0 deletions

View file

@ -143,6 +143,16 @@ static struct mouse_combos {
const char *name, *value;
} attributes[2];
} mouse_combos[] = { {
.context = "Border",
.button = "Left",
.event = "Press",
.action = "Focus",
}, {
.context = "Border",
.button = "Left",
.event = "Press",
.action = "Raise",
}, {
.context = "Border",
.button = "Left",
.event = "Drag",