From cd1f7b1784cc5135a493cb092ac286c4dbfedaa1 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 10 Jul 2021 08:04:28 -0700 Subject: [PATCH] x/wayland: remove Mod3 -> SUPER mapping I'm not sure where this came from in its originating commit (05a60e6e8b1f1aae36d7564445c8d678b5e03277), but it is inconsistent with the reverse mapping function added in that same commit: https://github.com/wez/wezterm/blob/05a60e6e8b1f1aae36d7564445c8d678b5e03277/window/src/os/x11/xkeysyms.rs#L3 It is causing problems in https://github.com/wez/wezterm/issues/933 and is rarely used by default, so it seems safe to just remove this mapping. --- window/src/os/x11/keyboard.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/window/src/os/x11/keyboard.rs b/window/src/os/x11/keyboard.rs index 6c2c18617..f6c4e912a 100644 --- a/window/src/os/x11/keyboard.rs +++ b/window/src/os/x11/keyboard.rs @@ -226,10 +226,6 @@ impl Keyboard { // Mod4 res |= Modifiers::SUPER; } - if self.mod_is_active("Mod3") { - res |= Modifiers::SUPER; - } - //Mod2 is numlock res }