Xinqi Bao's Git
projects
/
dwm.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
| inline |
side by side
(parent:
d108cfa
)
small fix of initial numlockmask value
author
Anselm R. Garbe <
[email protected]
>
Thu, 11 Jan 2007 14:51:15 +0000
(15:51 +0100)
committer
Anselm R. Garbe <
[email protected]
>
Thu, 11 Jan 2007 14:51:15 +0000
(15:51 +0100)
main.c
diff
|
blob
|
history
diff --git
a/main.c
b/main.c
index
ba5e2e0
..
067f383
100644
(file)
--- 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++) {