tfixed the z-layer issue described on mailinglist - dwm - [fork] customized bui… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 7225c99903c1a7ada44d575251e3aca64625a172 | |
parent 36178933ed53857d59046278afb25b7525cafb39 | |
Author: Anselm R. Garbe <[email protected]> | |
Date: Fri, 29 Sep 2006 17:12:57 +0200 | |
fixed the z-layer issue described on mailinglist | |
Diffstat: | |
M view.c | 9 ++++++++- | |
1 file changed, 8 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/view.c b/view.c | |
t@@ -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)); |