diff options
author | B. Watson <yalhcru@gmail.com> | 2021-08-09 05:49:59 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-13 00:51:31 +0700 |
commit | 2a6574b8d7e3cefcb85f24c06a650e82fc4b5e3d (patch) | |
tree | 51d3f7c030a74ec5ffaa531254237c2e7ad92fd8 /system/yeahconsole/52-yeahkeys.patch | |
parent | 6fe4e68923c25765c4ad5499a8e24111d17bb67e (diff) |
system/yeahconsole: Update man page.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/yeahconsole/52-yeahkeys.patch')
-rw-r--r-- | system/yeahconsole/52-yeahkeys.patch | 21 |
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 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 <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; |