fixed the z-layer issue described on mailinglist
Anselm R. Garbe arg@10kloc.org
Fri, 29 Sep 2006 17:12:57 +0200
1 files changed,
8 insertions(+),
1 deletions(-)
jump to
M
view.c
→
view.c
@@ -294,11 +294,18 @@ if(sel->isfloat || arrange == dofloat) {
XRaiseWindow(dpy, sel->win); XRaiseWindow(dpy, sel->twin); } - if(arrange != dofloat) + if(arrange != dofloat) { + if(!sel->isfloat) { + XLowerWindow(dpy, sel->twin); + XLowerWindow(dpy, sel->win); + } for(c = nexttiled(clients); c; c = nexttiled(c->next)) { + if(c == sel) + continue; XLowerWindow(dpy, c->twin); XLowerWindow(dpy, c->win); } + } drawall(); XSync(dpy, False); while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));