diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-02-19 17:00:32 +0100 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-19 17:00:32 +0100 |
| commit | cee56d38632bbac08e7f59d58c7c7ab1370be329 (patch) | |
| tree | 53869a5d9d948bbd25f51a57f531e9b7d4f282af /client.c | |
| parent | removed debug compile flags (diff) | |
| download | dwm-cee56d38632bbac08e7f59d58c7c7ab1370be329.tar.gz dwm-cee56d38632bbac08e7f59d58c7c7ab1370be329.zip | |
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 '')
| -rw-r--r-- | client.c | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -253,8 +253,8 @@ manage(Window w, XWindowAttributes *wa) { | |||
| 253 | updatetitle(c); | 253 | updatetitle(c); |
| 254 | for(t = clients; t && t->win != trans; t = t->next); | 254 | for(t = clients; t && t->win != trans; t = t->next); |
| 255 | settags(c, t); | 255 | settags(c, t); |
| 256 | if(!c->isfloat) | 256 | if(!c->swimming) |
| 257 | c->isfloat = (t != NULL) || c->isfixed; | 257 | c->swimming = (t != NULL) || c->isfixed; |
| 258 | attach(c); | 258 | attach(c); |
| 259 | attachstack(c); | 259 | attachstack(c); |
| 260 | c->isbanned = True; | 260 | c->isbanned = True; |
| @@ -268,7 +268,7 @@ manage(Window w, XWindowAttributes *wa) { | |||
| 268 | 268 | ||
| 269 | Client * | 269 | Client * |
| 270 | nexttiled(Client *c) { | 270 | nexttiled(Client *c) { |
| 271 | for(; c && (c->isfloat || !isvisible(c)); c = c->next); | 271 | for(; c && (c->swimming || !isvisible(c)); c = c->next); |
| 272 | return c; | 272 | return c; |
| 273 | } | 273 | } |
| 274 | 274 | ||
| @@ -440,7 +440,7 @@ zoom(Arg *arg) { | |||
| 440 | 440 | ||
| 441 | if(!sel) | 441 | if(!sel) |
| 442 | return; | 442 | return; |
| 443 | if(sel->isfloat || (lt->arrange == dofloat)) { | 443 | if(sel->swimming || (lt->arrange == swim)) { |
| 444 | togglemax(sel); | 444 | togglemax(sel); |
| 445 | return; | 445 | return; |
| 446 | } | 446 | } |
