aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-19 17:00:32 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-19 17:00:32 +0100
commitcee56d38632bbac08e7f59d58c7c7ab1370be329 (patch)
tree53869a5d9d948bbd25f51a57f531e9b7d4f282af /client.c
parent7c4da2446531bfec2f9b32998604aa9ff2da11c3 (diff)
downloaddwm-cee56d38632bbac08e7f59d58c7c7ab1370be329.tar.gz
renamed floating into swimming (this does not clash with C naming conventions and fits better the fish symbol) - also in man page
Diffstat (limited to 'client.c')
-rw-r--r--client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/client.c b/client.c
index 48b4167..e312a9a 100644
--- a/client.c
+++ b/client.c
@@ -253,8 +253,8 @@ manage(Window w, XWindowAttributes *wa) {
updatetitle(c);
for(t = clients; t && t->win != trans; t = t->next);
settags(c, t);
- if(!c->isfloat)
- c->isfloat = (t != NULL) || c->isfixed;
+ if(!c->swimming)
+ c->swimming = (t != NULL) || c->isfixed;
attach(c);
attachstack(c);
c->isbanned = True;
@@ -268,7 +268,7 @@ manage(Window w, XWindowAttributes *wa) {
Client *
nexttiled(Client *c) {
- for(; c && (c->isfloat || !isvisible(c)); c = c->next);
+ for(; c && (c->swimming || !isvisible(c)); c = c->next);
return c;
}
@@ -440,7 +440,7 @@ zoom(Arg *arg) {
if(!sel)
return;
- if(sel->isfloat || (lt->arrange == dofloat)) {
+ if(sel->swimming || (lt->arrange == swim)) {
togglemax(sel);
return;
}
remember that computers suck.