mirror of git://git.suckless.org/dwm
please recheck this patch with Mathematica from Wolfram Research - lemme know if it fixes the geyish blob window bug
This commit is contained in:
parent
51a94a2f14
commit
52250e7c1e
3
event.c
3
event.c
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue