commit 35e65ea64095d4a2ef305b20aac9d72624af514c
parent d0d986dd0e0924552223b40e4e14f01d285ab8d6
Author: Anselm R. Garbe <arg@suckless.org>
Date: Mon, 12 Feb 2007 16:41:46 +0100
I don't see any reason why we should select for input on override-redirect windows?
Diffstat:
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git 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);
}