Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f13ac4e
)
Add control to known keys. from Juergen Daubert <jue@jue.li>
author
Marco Peereboom
<marco@conformal.com>
Thu, 28 May 2009 19:40:13 +0000
(19:40 +0000)
committer
Marco Peereboom
<marco@conformal.com>
Thu, 28 May 2009 19:40:13 +0000
(19:40 +0000)
scrotwm.c
patch
|
blob
|
history
diff --git
a/scrotwm.c
b/scrotwm.c
index
ae5fd0d
..
3f48ca6
100644
(file)
--- a/
scrotwm.c
+++ b/
scrotwm.c
@@
-2249,6
+2249,8
@@
parsekeys(char *keystr, unsigned int currmod, unsigned int *mod, KeySym *ks)
*mod |= Mod4Mask;
else if (strncasecmp(name, "SHIFT", SWM_MODNAME_SIZE) == 0)
*mod |= ShiftMask;
+ else if (strncasecmp(name, "CONTROL", SWM_MODNAME_SIZE) == 0)
+ *mod |= ControlMask;
else {
*ks = XStringToKeysym(name);
XConvertCase(*ks, ks, &uks);