X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=client.c;h=d180278f3604436f9f25d9f7499122e5cf5cdac7;hb=0d9d3e79e925f9c049e5e1487a25e8a1a63db44e;hp=4ba15c48eea57baac1b25120fa3a1ccbe7d2f3e0;hpb=587100873a66e34251041678504a8c1e28410591;p=dwm.git diff --git a/client.c b/client.c index 4ba15c4..d180278 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->isuntiled) - c->isuntiled = (t != NULL) || c->isfixed; + if(!c->isfloating) + c->isfloating = (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 -toggletiled(const char *arg) { - if(!sel || lt->arrange == untile) +togglefloating(const char *arg) { + if(!sel || lt->arrange == floating) return; - sel->isuntiled = !sel->isuntiled; + sel->isfloating = !sel->isfloating; lt->arrange(); }