X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/cdbc84b9a87c427b3d0a202475b0f5aae315fb90..ad4962c7eb5f62400c762fea90d9be0e85f5c33d:/client.c diff --git a/client.c b/client.c index 48b4167..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->isfloat) - c->isfloat = (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->isfloat || !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->isfloat || (lt->arrange == dofloat)) { + if(sel->isversatile || (lt->arrange == versatile)) { togglemax(sel); return; }