diff options
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -301,7 +301,8 @@ maprequest(XEvent *e) { if(!XGetWindowAttributes(dpy, ev->window, &wa)) return; - if(wa.override_redirect) + fprintf(stderr, "does the window suck? %s\n", wa.map_state == IsViewable ? "no" : "yes"); + if(wa.override_redirect || wa.map_state != IsViewable) return; if(!getclient(ev->window)) manage(ev->window, &wa); |