Fixed syntax error.

This commit is contained in:
Sheldon Lee 2021-07-13 15:03:18 +08:00
parent 2f0b477545
commit 7737b001e6

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