Browse Source

small fix of initial numlockmask value

master
Anselm R. Garbe 18 years ago
parent
commit
a24a6701c8
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      main.c

+ 1
- 0
main.c View File

@ -101,6 +101,7 @@ setup(void) {
cursor[CurResize] = XCreateFontCursor(dpy, XC_sizing); cursor[CurResize] = XCreateFontCursor(dpy, XC_sizing);
cursor[CurMove] = XCreateFontCursor(dpy, XC_fleur); cursor[CurMove] = XCreateFontCursor(dpy, XC_fleur);
/* init modifier map */ /* init modifier map */
numlockmask = 0;
modmap = XGetModifierMapping(dpy); modmap = XGetModifierMapping(dpy);
for (i = 0; i < 8; i++) { for (i = 0; i < 8; i++) {
for (j = 0; j < modmap->max_keypermod; j++) { for (j = 0; j < modmap->max_keypermod; j++) {


Loading…
Cancel
Save