|
|
@ -293,11 +293,8 @@ maprequest(XEvent *e) {
|
|
|
|
|
|
|
|
|
|
|
|
if(!XGetWindowAttributes(dpy, ev->window, &wa))
|
|
|
|
if(!XGetWindowAttributes(dpy, ev->window, &wa))
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
if(wa.override_redirect) {
|
|
|
|
if(wa.override_redirect)
|
|
|
|
XSelectInput(dpy, ev->window,
|
|
|
|
|
|
|
|
(StructureNotifyMask | PropertyChangeMask));
|
|
|
|
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
if(!getclient(ev->window))
|
|
|
|
if(!getclient(ev->window))
|
|
|
|
manage(ev->window, &wa);
|
|
|
|
manage(ev->window, &wa);
|
|
|
|
}
|
|
|
|
}
|
|
|
|