|
|
@ -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++) { |
|
|
|