Mercurial > dwm-meillo
changeset 435:42388f634de0
seems to preserve floating client z-layer order (even with reorder() calls)
author | Anselm R. Garbe <arg@10kloc.org> |
---|---|
date | Wed, 06 Sep 2006 11:46:35 +0200 |
parents | 265dc4ae3354 |
children | b3659c3c5dab |
files | client.c config.mk |
diffstat | 2 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/client.c Wed Sep 06 10:54:10 2006 +0200 +++ b/client.c Wed Sep 06 11:46:35 2006 +0200 @@ -99,6 +99,14 @@ } } if(c) { + if((c->isfloat || arrange == dofloat) && (c != clients)) { + detach(c); + if(clients) { + clients->prev = c; + c->next = clients; + } + clients = c; + } grabbuttons(c, True); drawtitle(c); XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime);