summaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-12 16:41:46 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-12 16:41:46 +0100
commit35e65ea64095d4a2ef305b20aac9d72624af514c (patch)
tree4be9fec13fa4f0c2bfd461119f0ba38547c9ecda /event.c
parentd0d986dd0e0924552223b40e4e14f01d285ab8d6 (diff)
I don't see any reason why we should select for input on override-redirect windows?
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);
}