summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-09-06 07:56:46 -0400
committerAnselm R. Garbe <arg@10kloc.org>2006-09-06 07:56:46 -0400
commite8389a4cc0f1c35bcb7e7646102bd6d6a830207e (patch)
tree589dfd38f19f0d82842d2add92e5af5278f52e85 /client.c
parentAdded tag 1.4 for changeset 3cff9403766bf83a9fc2a0aef230115d68de2a8e (diff)
downloaddwm-e8389a4cc0f1c35bcb7e7646102bd6d6a830207e.tar.gz
dwm-e8389a4cc0f1c35bcb7e7646102bd6d6a830207e.tar.bz2
dwm-e8389a4cc0f1c35bcb7e7646102bd6d6a830207e.zip
maybe this might work
Diffstat (limited to '')
-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;