summary refs log tree commit diff
path: root/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf.c b/conf.c
index 3078321..b519090 100644
--- a/conf.c
+++ b/conf.c
@@ -434,6 +434,10 @@ conf_mousebind(struct conf *c, char *name, char *binding)
 	    strchr(name, 'S') < strchr(name, '-'))
 		current_binding->modmask |= ShiftMask;
 
+	if (strchr(name, '4') != NULL &&
+	    strchr(name, '4') < strchr(name, '-'))
+		current_binding->modmask |= Mod4Mask;
+
 	substring = strchr(name, '-') + 1;
 
 	if (strchr(name, '-') == NULL)