X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=main.c;h=067f383666b460f366eee558f48e2c589e655633;hb=a24a6701c8bb32c1bfa0120a692445ec85c9b5b9;hp=ba5e2e0a35cc9a2ae79f96f553234c1e48b97e34;hpb=d108cfa7fc47000af49e70a49e865b9eb236c57d;p=dwm.git diff --git a/main.c b/main.c index ba5e2e0..067f383 100644 --- a/main.c +++ b/main.c @@ -101,6 +101,7 @@ setup(void) { cursor[CurResize] = XCreateFontCursor(dpy, XC_sizing); cursor[CurMove] = XCreateFontCursor(dpy, XC_fleur); /* init modifier map */ + numlockmask = 0; modmap = XGetModifierMapping(dpy); for (i = 0; i < 8; i++) { for (j = 0; j < modmap->max_keypermod; j++) {