X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=client.c;h=4ba15c48eea57baac1b25120fa3a1ccbe7d2f3e0;hp=2e443c21b088c9eac38f40fc1766c988d236d456;hb=587100873a66e34251041678504a8c1e28410591;hpb=27b0595af72060d7cc406639b6c53a854f0a3590 diff --git a/client.c b/client.c index 2e443c2..4ba15c4 100644 --- a/client.c +++ b/client.c @@ -203,8 +203,8 @@ manage(Window w, XWindowAttributes *wa) { updatetitle(c); for(t = clients; t && t->win != trans; t = t->next); settags(c, t); - if(!c->isversatile) - c->isversatile = (t != NULL) || c->isfixed; + if(!c->isuntiled) + c->isuntiled = (t != NULL) || c->isfixed; attach(c); attachstack(c); c->isbanned = True; @@ -285,10 +285,10 @@ resize(Client *c, int x, int y, int w, int h, Bool sizehints) { } void -toggleversatile(const char *arg) { - if(!sel || lt->arrange == versatile) +toggletiled(const char *arg) { + if(!sel || lt->arrange == untile) return; - sel->isversatile = !sel->isversatile; + sel->isuntiled = !sel->isuntiled; lt->arrange(); }