Xinqi Bao's Git
projects
/
dwm.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
3617893
)
fixed the z-layer issue described on mailinglist
author
Anselm R. Garbe <
[email protected]
>
Fri, 29 Sep 2006 15:12:57 +0000
(17:12 +0200)
committer
Anselm R. Garbe <
[email protected]
>
Fri, 29 Sep 2006 15:12:57 +0000
(17:12 +0200)
view.c
patch
|
blob
|
history
diff --git
a/view.c
b/view.c
index
ac8e7a3
..
a3b2029
100644
(file)
--- a/
view.c
+++ b/
view.c
@@
-294,11
+294,18
@@
restack(void) {
XRaiseWindow(dpy, sel->win);
XRaiseWindow(dpy, sel->twin);
}
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)) {
for(c = nexttiled(clients); c; c = nexttiled(c->next)) {
+ if(c == sel)
+ continue;
XLowerWindow(dpy, c->twin);
XLowerWindow(dpy, c->win);
}
XLowerWindow(dpy, c->twin);
XLowerWindow(dpy, c->win);
}
+ }
drawall();
XSync(dpy, False);
while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));
drawall();
XSync(dpy, False);
while(XCheckMaskEvent(dpy, EnterWindowMask, &ev));