diff --git a/conf.c b/conf.c index 1972287..3078321 100644 --- a/conf.c +++ b/conf.c @@ -430,6 +430,10 @@ conf_mousebind(struct conf *c, char *name, char *binding) strchr(name, 'M') < strchr(name, '-')) current_binding->modmask |= Mod1Mask; + if (strchr(name, 'S') != NULL && + strchr(name, 'S') < strchr(name, '-')) + current_binding->modmask |= ShiftMask; + substring = strchr(name, '-') + 1; if (strchr(name, '-') == NULL) diff --git a/cwmrc.5 b/cwmrc.5 index fe2f205..9a421ae 100644 --- a/cwmrc.5 +++ b/cwmrc.5 @@ -139,6 +139,8 @@ The following modifiers are recognised: The Control key. .It M The Meta key. +.It S +The Shift key. .El .Pp The