dwm-meillo
changeset 512:aca04c3022c1
fixed the z-layer issue described on mailinglist
author | Anselm R. Garbe <arg@10kloc.org> |
---|---|
date | Fri, 29 Sep 2006 17:12:57 +0200 |
parents | 1599c953647b |
children | e43292f339ea |
files | view.c |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/view.c Fri Sep 29 17:02:56 2006 +0200 1.2 +++ b/view.c Fri Sep 29 17:12:57 2006 +0200 1.3 @@ -294,11 +294,18 @@ 1.4 XRaiseWindow(dpy, sel->win); 1.5 XRaiseWindow(dpy, sel->twin); 1.6 } 1.7 - if(arrange != dofloat) 1.8 + if(arrange != dofloat) { 1.9 + if(!sel->isfloat) { 1.10 + XLowerWindow(dpy, sel->twin); 1.11 + XLowerWindow(dpy, sel->win); 1.12 + } 1.13 for(c = nexttiled(clients); c; c = nexttiled(c->next)) { 1.14 + if(c == sel) 1.15 + continue; 1.16 XLowerWindow(dpy, c->twin); 1.17 XLowerWindow(dpy, c->win); 1.18 } 1.19 + } 1.20 drawall(); 1.21 XSync(dpy, False); 1.22 while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));