X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=client.c;h=fdb973c408162dbd57f44b819647ce548d5d1254;hb=ab838721345532898419f1600a31a1b69a9c0c92;hp=e312a9a4c1cdf97db066c8011f70995e2d65b2dd;hpb=cee56d38632bbac08e7f59d58c7c7ab1370be329;p=dwm.git diff --git a/client.c b/client.c index e312a9a..fdb973c 100644 --- a/client.c +++ b/client.c @@ -253,8 +253,8 @@ manage(Window w, XWindowAttributes *wa) { updatetitle(c); for(t = clients; t && t->win != trans; t = t->next); settags(c, t); - if(!c->swimming) - c->swimming = (t != NULL) || c->isfixed; + if(!c->isversatile) + c->isversatile = (t != NULL) || c->isfixed; attach(c); attachstack(c); c->isbanned = True; @@ -268,7 +268,7 @@ manage(Window w, XWindowAttributes *wa) { Client * nexttiled(Client *c) { - for(; c && (c->swimming || !isvisible(c)); c = c->next); + for(; c && (c->isversatile || !isvisible(c)); c = c->next); return c; } @@ -440,7 +440,7 @@ zoom(Arg *arg) { if(!sel) return; - if(sel->swimming || (lt->arrange == swim)) { + if(sel->isversatile || (lt->arrange == versatile)) { togglemax(sel); return; }