aboutsummaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'event.c')
-rw-r--r--event.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/event.c b/event.c
index 938655d..4e4649b 100644
--- a/event.c
+++ b/event.c
@@ -293,11 +293,8 @@ maprequest(XEvent *e) {
if(!XGetWindowAttributes(dpy, ev->window, &wa))
return;
- if(wa.override_redirect) {
- XSelectInput(dpy, ev->window,
- (StructureNotifyMask | PropertyChangeMask));
+ if(wa.override_redirect)
return;
- }
if(!getclient(ev->window))
manage(ev->window, &wa);
}
remember that computers suck.