diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-02-22 22:10:16 +0100 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-22 22:10:16 +0100 |
commit | 338c0838580b32f1258a800392d93cf973baf1e6 (patch) | |
tree | 30387958f30336d7617f63a085128cbe40651d2f /client.c | |
parent | 671442e89d6e8e8c42912df08a82466f126a7b3b (diff) | |
download | dwm-338c0838580b32f1258a800392d93cf973baf1e6.tar.gz |
renamed untiled into floating, keeping tiled instead of tiling (afaik tiled sounds more correct) - English speakers convinced me
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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(); } |