aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-09-06 13:56:46 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-09-06 13:56:46 +0200
commite8389a4cc0f1c35bcb7e7646102bd6d6a830207e (patch)
tree589dfd38f19f0d82842d2add92e5af5278f52e85 /client.c
parent6078d756bc3c46b02edb2c3e5d3bd398e95175c8 (diff)
downloaddwm-e8389a4cc0f1c35bcb7e7646102bd6d6a830207e.tar.gz
maybe this might work
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 586a87f..cac848e 100644
--- a/client.c
+++ b/client.c
@@ -243,6 +243,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;