JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
maybe this might work
[dwm.git] / client.c
index 586a87f..cac848e 100644 (file)
--- 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;