From a24a6701c8bb32c1bfa0120a692445ec85c9b5b9 Mon Sep 17 00:00:00 2001 From: Anselm R. Garbe Date: Thu, 11 Jan 2007 15:51:15 +0100 Subject: small fix of initial numlockmask value --- main.c | 1 + 1 file changed, 1 insertion(+) 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++) { -- cgit v1.2.3