# HG changeset patch # User Anselm R. Garbe # Date 1159542777 -7200 # Node ID aca04c3022c186cb3fd2f9dbefdd162a7c070850 # Parent 1599c953647bc54a7075eafacdd127f539432e2a fixed the z-layer issue described on mailinglist diff -r 1599c953647b -r aca04c3022c1 view.c --- a/view.c Fri Sep 29 17:02:56 2006 +0200 +++ b/view.c Fri Sep 29 17:12:57 2006 +0200 @@ -294,11 +294,18 @@ 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));