X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=client.c;h=4ba15c48eea57baac1b25120fa3a1ccbe7d2f3e0;hb=ef9b3e173c6e588d630d15a35c7675189a6c31b9;hp=3d9cd40263272c6c0a11285ac5dc9104f6227674;hpb=352cae4380713949d3800ebcda7aff3bb5ab9efc;p=dwm.git diff --git a/client.c b/client.c index 3d9cd40..4ba15c4 100644 --- a/client.c +++ b/client.c @@ -153,7 +153,7 @@ focus(Client *c) { } void -killclient(Arg arg) { +killclient(const char *arg) { if(!sel) return; if(isprotodel(sel)) @@ -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(Arg 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(); }