From 26a9c637d867cc424c64d1c7f1248112c9d20943 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 28a319c2..33c47a41 100644 --- a/docs/labwc-config.5.scd +++ b/docs/labwc-config.5.scd @@ -699,7 +699,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 5ac26e5f..8b9d5bc1 100644 --- a/docs/rc.xml.all +++ b/docs/rc.xml.all @@ -269,18 +269,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", -- 2.52.0