Mercurial > aewl
comparison view.c @ 512:aca04c3022c1
fixed the z-layer issue described on mailinglist
author | Anselm R. Garbe <arg@10kloc.org> |
---|---|
date | Fri, 29 Sep 2006 17:12:57 +0200 |
parents | 1599c953647b |
children | e43292f339ea |
comparison
equal
deleted
inserted
replaced
511:1599c953647b | 512:aca04c3022c1 |
---|---|
292 } | 292 } |
293 if(sel->isfloat || arrange == dofloat) { | 293 if(sel->isfloat || arrange == dofloat) { |
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)); |
305 } | 312 } |
306 | 313 |