From a9f927047a4043bc5177e5762a6fb9e4346f5fea Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Mon, 1 Sep 2025 20:56:51 +0100 Subject: [PATCH] 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 --- docs/rc.xml.all | 4 ++++ include/config/default-bindings.h | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/docs/rc.xml.all b/docs/rc.xml.all index f91985c3..a96993ab 100644 --- a/docs/rc.xml.all +++ b/docs/rc.xml.all @@ -376,6 +376,10 @@ + + + + diff --git a/include/config/default-bindings.h b/include/config/default-bindings.h index 12ec5c4c..08caeade 100644 --- a/include/config/default-bindings.h +++ b/include/config/default-bindings.h @@ -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", -- 2.52.0