summaryrefslogtreecommitdiffstats
path: root/system/yeahconsole/52-yeahkeys.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/yeahconsole/52-yeahkeys.patch')
-rw-r--r--system/yeahconsole/52-yeahkeys.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/system/yeahconsole/52-yeahkeys.patch b/system/yeahconsole/52-yeahkeys.patch
new file mode 100644
index 0000000000..78b2d816ce
--- /dev/null
+++ b/system/yeahconsole/52-yeahkeys.patch
@@ -0,0 +1,21 @@
+Description: Recognize Shift key, Meta, and Super key names
+Author: Decklin Foster <decklin@red-bean.com>
+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;