JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
renamed untiled into floating, keeping tiled instead of tiling (afaik tiled sounds...
[dwm.git] / client.c
index 2e443c2..d180278 100644 (file)
--- 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->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
-toggleversatile(const char *arg) {
-       if(!sel || lt->arrange == versatile)
+togglefloating(const char *arg) {
+       if(!sel || lt->arrange == floating)
                return;
-       sel->isversatile = !sel->isversatile;
+       sel->isfloating = !sel->isfloating;
        lt->arrange();
 }