From 028c41374cdf7ff18fb3c1f9d978782991efad28 Mon Sep 17 00:00:00 2001 From: Abhinav Date: Mon, 2 Jun 2025 12:06:09 +0100 Subject: allow shift and control as modifiers --- src/parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser.c b/src/parser.c index ec53cc5..bf338b6 100644 --- a/src/parser.c +++ b/src/parser.c @@ -200,7 +200,7 @@ found:; if (!strcmp(key, "mod_key")) { unsigned m = parse_mods(rest, cfg); - if (m & (Mod1Mask | Mod4Mask)) { + if (m & (Mod1Mask | Mod4Mask | ShiftMask | ControlMask)) { cfg->modkey = m; } else { -- cgit v1.2.3