From 5d1e20128caaadfec69a7a844475abfc8e236413 Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Fri, 13 Jun 2025 18:54:02 +0100 Subject: [PATCH] config: deprecate A- keybinds ...because Alt- keybinds should be for clients to use and the A- default combination is a frequent user complaint because it prevents some common usage patterns like alt-left/right in web browers. --- docs/labwc-config.5.scd | 1 - docs/rc.xml.all | 12 ------------ include/config/default-bindings.h | 28 ---------------------------- 3 files changed, 41 deletions(-) diff --git a/docs/labwc-config.5.scd b/docs/labwc-config.5.scd index 90276203..11db0e58 100644 --- a/docs/labwc-config.5.scd +++ b/docs/labwc-config.5.scd @@ -692,7 +692,6 @@ extending outward from the snapped edge. A-F3 - run bemenu A-F4 - close window W-a - toggle maximize - A- - move window to edge W- - resize window to fill half the output A-Space - show window menu ``` diff --git a/docs/rc.xml.all b/docs/rc.xml.all index 4d137f80..22483287 100644 --- a/docs/rc.xml.all +++ b/docs/rc.xml.all @@ -268,18 +268,6 @@ - - - - - - - - - - - - diff --git a/include/config/default-bindings.h b/include/config/default-bindings.h index 03f8a367..75951ad3 100644 --- a/include/config/default-bindings.h +++ b/include/config/default-bindings.h @@ -35,34 +35,6 @@ static struct key_combos { }, { .binding = "W-a", .action = "ToggleMaximize", - }, { - .binding = "A-Left", - .action = "MoveToEdge", - .attributes[0] = { - .name = "direction", - .value = "left", - }, - }, { - .binding = "A-Right", - .action = "MoveToEdge", - .attributes[0] = { - .name = "direction", - .value = "right", - }, - }, { - .binding = "A-Up", - .action = "MoveToEdge", - .attributes[0] = { - .name = "direction", - .value = "up", - }, - }, { - .binding = "A-Down", - .action = "MoveToEdge", - .attributes[0] = { - .name = "direction", - .value = "down", - }, }, { .binding = "W-Left", .action = "SnapToEdge",