From fda63058b275c3959cc4d548a9d543421722cff1 Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Fri, 13 Jun 2025 19:42:43 +0100 Subject: [PATCH] config: use Super modifier instead of Alt for default mousebinds ...A-Left and A-Right (for move and resize) to avoid interfering with some clients like CAD programs and games. --- docs/labwc-config.5.scd | 6 +++--- docs/rc.xml.all | 8 ++++---- include/config/default-bindings.h | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/labwc-config.5.scd b/docs/labwc-config.5.scd index 8f202276..b6f3b439 100644 --- a/docs/labwc-config.5.scd +++ b/docs/labwc-config.5.scd @@ -803,14 +803,14 @@ extending outward from the snapped edge. ``` - Example to un-bind the default alt + left-button-press to move window: + Example to un-bind the default Super + left-button-press to move window: ``` - - + + ``` diff --git a/docs/rc.xml.all b/docs/rc.xml.all index 75f54d9a..f9fc6eae 100644 --- a/docs/rc.xml.all +++ b/docs/rc.xml.all @@ -355,18 +355,18 @@ 500 - + - + - + - + diff --git a/include/config/default-bindings.h b/include/config/default-bindings.h index 98933afb..56f08cf5 100644 --- a/include/config/default-bindings.h +++ b/include/config/default-bindings.h @@ -184,32 +184,32 @@ static struct mouse_combos { .action = "Resize", }, { .context = "Frame", - .button = "A-Left", + .button = "W-Left", .event = "Press", .action = "Focus", }, { .context = "Frame", - .button = "A-Left", + .button = "W-Left", .event = "Press", .action = "Raise", }, { .context = "Frame", - .button = "A-Left", + .button = "W-Left", .event = "Drag", .action = "Move", }, { .context = "Frame", - .button = "A-Right", + .button = "W-Right", .event = "Press", .action = "Focus", }, { .context = "Frame", - .button = "A-Right", + .button = "W-Right", .event = "Press", .action = "Raise", }, { .context = "Frame", - .button = "A-Right", + .button = "W-Right", .event = "Drag", .action = "Resize", }, { -- 2.52.0