JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
returning to old bar colorization behavior, like sander proposed for consistency...
[dwm.git] / client.c
index d04692d..220d2a0 100644 (file)
--- a/client.c
+++ b/client.c
@@ -232,9 +232,7 @@ manage(Window w, XWindowAttributes *wa) {
        updatetitle(c);
        settags(c, getclient(trans));
        if(!c->isfloat)
-               c->isfloat = trans
-                       || (c->maxw && c->minw && c->maxh && c->minh &&
-                               c->maxw == c->minw && c->maxh == c->minh);
+               c->isfloat = trans || c->isfixed;
        resizetitle(c);
        if(clients)
                clients->prev = c;
@@ -341,6 +339,8 @@ updatesize(Client *c) {
        }
        else
                c->minw = c->minh = 0;
+       c->isfixed = (c->maxw && c->minw && c->maxh && c->minh &&
+                               c->maxw == c->minw && c->maxh == c->minh);
        if(c->flags & PWinGravity)
                c->grav = size.win_gravity;
        else