aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
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;