From: Marco Peereboom Date: Thu, 28 May 2009 19:40:13 +0000 (+0000) Subject: Add control to known keys. from Juergen Daubert X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=a4ecf5f75c3e5a3053faa1e84d0c5ae78a9db92d;p=spectrwm.git Add control to known keys. from Juergen Daubert --- diff --git a/scrotwm.c b/scrotwm.c index ae5fd0d..3f48ca6 100644 --- 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);