diff client.c @ 440:9d73c8298b2e

maybe this might work
author Anselm R. Garbe <arg@10kloc.org>
date Wed, 06 Sep 2006 13:56:46 +0200
parents b3659c3c5dab
children 785bad5f21dd
line wrap: on
line diff
--- a/client.c	Wed Sep 06 12:19:07 2006 +0200
+++ b/client.c	Wed Sep 06 13:56:46 2006 +0200
@@ -243,6 +243,8 @@
 		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;