about summary refs log tree commit diff stats
path: root/client.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-09-05 19:26:34 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-09-05 19:26:34 +0200
commit0d0e8bde134b999dd22c891d227d886ca6c9ba2c (patch)
tree8ec3962fd9f3a010acd6484ebb86012b1bd4d554 /client.c
parent838a1ff950eb42e4137cfd7039a0e78227b2ef70 (diff)
downloaddwm-0d0e8bde134b999dd22c891d227d886ca6c9ba2c.tar.gz
no, ordering floating clients at the end seems better
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client.c b/client.c
index 4f2a69c..ecb9178 100644
--- a/client.c
+++ b/client.c
@@ -247,6 +247,8 @@ manage(Window w, XWindowAttributes *wa)
 		c->isfloat = trans
 			|| (c->maxw && c->minw &&
 				c->maxw == c->minw && c->maxh == c->minh);
+	if(c->isfloat)
+		c->weight = ntags;
 
 	if(clients)
 		clients->prev = c;