From 2a6574b8d7e3cefcb85f24c06a650e82fc4b5e3d Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 9 Aug 2021 05:49:59 -0400 Subject: system/yeahconsole: Update man page. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- system/yeahconsole/52-yeahkeys.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 system/yeahconsole/52-yeahkeys.patch (limited to 'system/yeahconsole/52-yeahkeys.patch') diff --git a/system/yeahconsole/52-yeahkeys.patch b/system/yeahconsole/52-yeahkeys.patch new file mode 100644 index 000000000000..78b2d816ceb7 --- /dev/null +++ b/system/yeahconsole/52-yeahkeys.patch @@ -0,0 +1,21 @@ +Description: Recognize Shift key, Meta, and Super key names +Author: Decklin Foster +Forwarded: mailto:knorke@phrat.de +Bug-Debian: https://bugs.debian.org/506062 + +--- a/yeahconsole.c ++++ b/yeahconsole.c +@@ -294,9 +294,11 @@ + + if (strstr(opt, "Control")) + modmask = modmask | ControlMask; +- if (strstr(opt, "Alt")) ++ if (strstr(opt, "Shift")) ++ modmask = modmask | ShiftMask; ++ if (strstr(opt, "Meta") || strstr(opt, "Alt")) + modmask = modmask | Mod1Mask; +- if (strstr(opt, "Win")) ++ if (strstr(opt, "Super") || strstr(opt, "Win")) + modmask = modmask | Mod4Mask; + if (strstr(opt, "None")) + modmask = 0; -- cgit v1.2.3