|
@ -301,7 +301,8 @@ maprequest(XEvent *e) { |
|
|
|
|
|
|
|
|
if(!XGetWindowAttributes(dpy, ev->window, &wa)) |
|
|
if(!XGetWindowAttributes(dpy, ev->window, &wa)) |
|
|
return; |
|
|
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; |
|
|
return; |
|
|
if(!getclient(ev->window)) |
|
|
if(!getclient(ev->window)) |
|
|
manage(ev->window, &wa); |
|
|
manage(ev->window, &wa); |
|
|