small fix of initial numlockmask value
parent
d108cfa7fc
commit
a24a6701c8
1
main.c
1
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++) {
|
||||
|
|
Loading…
Reference in New Issue