From 7737b001e6ad97bd61b2c4ec6799af49b78c3a7c Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Tue, 13 Jul 2021 15:03:18 +0800 Subject: [PATCH 1/2] Fixed syntax error. --- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwm.c b/dwm.c index c281d11..47d4ae5 100644 --- a/dwm.c +++ b/dwm.c @@ -1018,7 +1018,7 @@ keypress(XEvent *e) keysym = XKeycodeToKeysym(dpy, (KeyCode)ev->keycode, 0); /* always check for gaming key */ - if (iskey(&keysym, ev. &togglegamingkey)) + if (iskey(&keysym, ev, &togglegamingkey)) togglegaming(&(togglegamingkey.arg)); for (i = 0; i < LENGTH(keys); i++) { From d702fa7877834a90e80b041f3e30f75147b666c9 Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Tue, 13 Jul 2021 15:03:59 +0800 Subject: [PATCH 2/2] Changed window class name for firefox rule. --- config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.h b/config.h index 01bee41..617e27a 100644 --- a/config.h +++ b/config.h @@ -47,7 +47,7 @@ static const Rule rules[] = { */ /* class instance title tags mask isfloating monitor */ { "Gimp", NULL, NULL, 0, 1, -1 }, - { "firefox", NULL, NULL, 1 << 1, 0, -1 }, + { "Firefox", NULL, NULL, 1 << 1, 0, -1 }, { "discord", NULL, NULL, 1 << 2, 0, -1 }, { "Steam", NULL, NULL, 1 << 3, 0, -1 }, { "UE4Editor", NULL, NULL, 1 << 3, 0, -1 },