diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-02-22 17:43:41 +0100 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-22 17:43:41 +0100 |
commit | 587100873a66e34251041678504a8c1e28410591 (patch) | |
tree | 2ea60a457951a9f21be2deaf0b29244d4cc7c5a9 /layout.c | |
parent | 27b0595af72060d7cc406639b6c53a854f0a3590 (diff) | |
download | dwm-587100873a66e34251041678504a8c1e28410591.tar.gz |
renamed versatile into untiled
Diffstat (limited to 'layout.c')
-rw-r--r-- | layout.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/layout.c b/layout.c index 1e8f113..bb477d6 100644 --- a/layout.c +++ b/layout.c @@ -31,7 +31,7 @@ tile(void) { if(c->isbanned) XMoveWindow(dpy, c->win, c->x, c->y); c->isbanned = False; - if(c->isversatile) + if(c->isuntiled) continue; c->ismax = False; nx = wax; @@ -148,7 +148,7 @@ initlayouts(void) { Client * nexttiled(Client *c) { - for(; c && (c->isversatile || !isvisible(c)); c = c->next); + for(; c && (c->isuntiled || !isvisible(c)); c = c->next); return c; } @@ -160,10 +160,10 @@ restack(void) { drawstatus(); if(!sel) return; - if(sel->isversatile || lt->arrange == versatile) + if(sel->isuntiled || lt->arrange == untile) XRaiseWindow(dpy, sel->win); - if(lt->arrange != versatile) { - if(!sel->isversatile) + if(lt->arrange != untile) { + if(!sel->isuntiled) XLowerWindow(dpy, sel->win); for(c = nexttiled(clients); c; c = nexttiled(c->next)) { if(c == sel) @@ -202,7 +202,7 @@ void togglemax(const char *arg) { XEvent ev; - if(!sel || (lt->arrange != versatile && !sel->isversatile) || sel->isfixed) + if(!sel || (lt->arrange != untile && !sel->isuntiled) || sel->isfixed) return; if((sel->ismax = !sel->ismax)) { sel->rx = sel->x; @@ -218,7 +218,7 @@ togglemax(const char *arg) { } void -versatile(void) { +untile(void) { Client *c; for(c = clients; c; c = c->next) { @@ -245,7 +245,7 @@ zoom(const char *arg) { unsigned int n; Client *c; - if(!sel || lt->arrange != tile || sel->isversatile) + if(!sel || lt->arrange != tile || sel->isuntiled) return; for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next)) n++; |