small fix of initial numlockmask value
authorAnselm R. Garbe <arg@suckless.org>
Thu, 11 Jan 2007 15:51:15 +0100
changeset 679 5f0134b88b8d
parent 678 4dcbbfe9d137
child 680 cfe656fc969a
small fix of initial numlockmask value
main.c
--- a/main.c	Thu Jan 11 13:43:38 2007 +0100
+++ b/main.c	Thu Jan 11 15:51:15 2007 +0100
@@ -101,6 +101,7 @@
 	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++) {