Merge branch 'master' of github.com:sheldonmlee/dwm

This commit is contained in:
sheldonmlee 2021-07-13 16:36:11 +08:00
commit 38abd88af0
2 changed files with 2 additions and 2 deletions

View File

@ -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 },
{ "Lutris", NULL, NULL, 1 << 3, 0, -1 },

2
dwm.c
View File

@ -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++) {