diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -163,9 +163,10 @@ setup(void) { | |||
| 163 | XFreeModifiermap(modmap); | 163 | XFreeModifiermap(modmap); |
| 164 | /* select for events */ | 164 | /* select for events */ |
| 165 | wa.event_mask = SubstructureRedirectMask | SubstructureNotifyMask | 165 | wa.event_mask = SubstructureRedirectMask | SubstructureNotifyMask |
| 166 | | EnterWindowMask | LeaveWindowMask; | 166 | | EnterWindowMask | LeaveWindowMask | StructureNotifyMask; |
| 167 | wa.cursor = cursor[CurNormal]; | 167 | wa.cursor = cursor[CurNormal]; |
| 168 | XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &wa); | 168 | XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &wa); |
| 169 | XSelectInput(dpy, root, wa.event_mask); | ||
| 169 | grabkeys(); | 170 | grabkeys(); |
| 170 | compileregs(); | 171 | compileregs(); |
| 171 | for(ntags = 0; tags[ntags]; ntags++); | 172 | for(ntags = 0; tags[ntags]; ntags++); |
