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 | removed the direction flipping (diff) | |
| download | dwm-7225c99903c1a7ada44d575251e3aca64625a172.tar.gz dwm-7225c99903c1a7ada44d575251e3aca64625a172.zip | |
fixed the z-layer issue described on mailinglist
Diffstat (limited to '')
| -rw-r--r-- | view.c | 9 |
1 files changed, 8 insertions, 1 deletions
| @@ -294,11 +294,18 @@ restack(void) { | |||
| 294 | XRaiseWindow(dpy, sel->win); | 294 | XRaiseWindow(dpy, sel->win); |
| 295 | XRaiseWindow(dpy, sel->twin); | 295 | XRaiseWindow(dpy, sel->twin); |
| 296 | } | 296 | } |
| 297 | if(arrange != dofloat) | 297 | if(arrange != dofloat) { |
| 298 | if(!sel->isfloat) { | ||
| 299 | XLowerWindow(dpy, sel->twin); | ||
| 300 | XLowerWindow(dpy, sel->win); | ||
| 301 | } | ||
| 298 | for(c = nexttiled(clients); c; c = nexttiled(c->next)) { | 302 | for(c = nexttiled(clients); c; c = nexttiled(c->next)) { |
| 303 | if(c == sel) | ||
| 304 | continue; | ||
| 299 | XLowerWindow(dpy, c->twin); | 305 | XLowerWindow(dpy, c->twin); |
| 300 | XLowerWindow(dpy, c->win); | 306 | XLowerWindow(dpy, c->win); |
| 301 | } | 307 | } |
| 308 | } | ||
| 302 | drawall(); | 309 | drawall(); |
| 303 | XSync(dpy, False); | 310 | XSync(dpy, False); |
| 304 | while(XCheckMaskEvent(dpy, EnterWindowMask, &ev)); | 311 | while(XCheckMaskEvent(dpy, EnterWindowMask, &ev)); |
