summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 7d3479e..63f791f 100644
--- a/main.c
+++ b/main.c
@@ -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++);