commit a24a6701c8bb32c1bfa0120a692445ec85c9b5b9
parent d108cfa7fc47000af49e70a49e865b9eb236c57d
Author: Anselm R. Garbe <arg@suckless.org>
Date: Thu, 11 Jan 2007 15:51:15 +0100
small fix of initial numlockmask value
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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++) {