From: Johan Malm Date: Fri, 13 Jun 2025 18:42:43 +0000 (+0100) Subject: config: use Super modifier instead of Alt for default mousebinds X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=fda63058b275c3959cc4d548a9d543421722cff1;p=proto%2Flabwc.git 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. --- 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", }, {