# HG changeset patch # User Anselm R. Garbe # Date 1157535995 -7200 # Node ID 42388f634de0bcdb31d125630da345dc4cf8894c # Parent 265dc4ae335459a712c26ac35d96a4518e8f02a6 seems to preserve floating client z-layer order (even with reorder() calls) diff -r 265dc4ae3354 -r 42388f634de0 client.c --- 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); diff -r 265dc4ae3354 -r 42388f634de0 config.mk --- a/config.mk Wed Sep 06 10:54:10 2006 +0200 +++ b/config.mk Wed Sep 06 11:46:35 2006 +0200 @@ -1,5 +1,5 @@ # dwm version -VERSION = 1.4 +VERSION = 1.5 # Customize below to fit your system