summary refs log tree commit diff
path: root/conf.c
diff options
context:
space:
mode:
authorokan <okan>2020-02-03 16:38:02 +0000
committerokan <okan>2020-02-03 16:38:02 +0000
commitd3410dd10d9c199521f92fcf45a43766bcd8f8d3 (patch)
tree2785f4ac4d064453b6856a924976eea54f72ad26 /conf.c
parent83de84b7f822a2211d81d9bb11d4a3e41588c364 (diff)
downloadcwm-d3410dd10d9c199521f92fcf45a43766bcd8f8d3.tar.gz
cwm-d3410dd10d9c199521f92fcf45a43766bcd8f8d3.tar.xz
cwm-d3410dd10d9c199521f92fcf45a43766bcd8f8d3.zip
Map ('5') and allow mod5mask (altgr) as a modifier.
From Artturi Alm (though changed from 'm' to '5')
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/conf.c b/conf.c
index d25e00f..55dc40f 100644
--- a/conf.c
+++ b/conf.c
@@ -197,10 +197,11 @@ static const struct {
 	const char	ch;
 	int		mask;
 } bind_mods[] = {
+	{ 'S',	ShiftMask },
 	{ 'C',	ControlMask },
 	{ 'M',	Mod1Mask },
 	{ '4',	Mod4Mask },
-	{ 'S',	ShiftMask },
+	{ '5',	Mod5Mask },
 };
 static const struct {
 	const char	*key;