fixed the z-layer issue described on mailinglist
7225c999
1 file(s) · +8 −1
| 294 | 294 | XRaiseWindow(dpy, sel->win); |
|
| 295 | 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 | 302 | for(c = nexttiled(clients); c; c = nexttiled(c->next)) { |
|
| 303 | + | if(c == sel) |
|
| 304 | + | continue; |
|
| 299 | 305 | XLowerWindow(dpy, c->twin); |
|
| 300 | 306 | XLowerWindow(dpy, c->win); |
|
| 301 | 307 | } |
|
| 308 | + | } |
|
| 302 | 309 | drawall(); |
|
| 303 | 310 | XSync(dpy, False); |
|
| 304 | 311 | while(XCheckMaskEvent(dpy, EnterWindowMask, &ev)); |