diff options
author | Anselm R. Garbe <arg@10kloc.org> | 2006-09-29 17:12:57 +0200 |
---|---|---|
committer | Anselm R. Garbe <arg@10kloc.org> | 2006-09-29 17:12:57 +0200 |
commit | 7225c99903c1a7ada44d575251e3aca64625a172 (patch) | |
tree | 3d5a3023c1188d08f3811b39e17d2309be7596d4 /view.c | |
parent | 36178933ed53857d59046278afb25b7525cafb39 (diff) | |
download | dwm-7225c99903c1a7ada44d575251e3aca64625a172.tar.gz |
fixed the z-layer issue described on mailinglist
Diffstat (limited to 'view.c')
-rw-r--r-- | view.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -294,11 +294,18 @@ restack(void) { 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)); |