Browse Source

fixed the z-layer issue described on mailinglist

main
Anselm R. Garbe 18 years ago
parent
commit
7225c99903
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      view.c

+ 8
- 1
view.c View File

@ -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));


Loading…
Cancel
Save