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 | hahaha, untiled and non-untiled sounded really cumbersome (diff) | |
| download | dwm-338c0838580b32f1258a800392d93cf973baf1e6.tar.gz dwm-338c0838580b32f1258a800392d93cf973baf1e6.zip | |
renamed untiled into floating, keeping tiled instead of tiling (afaik tiled sounds more correct) - English speakers convinced me
Diffstat (limited to '')
| -rw-r--r-- | client.c | 10 |
1 files changed, 5 insertions, 5 deletions
| @@ -203,8 +203,8 @@ manage(Window w, XWindowAttributes *wa) { | |||
| 203 | updatetitle(c); | 203 | updatetitle(c); |
| 204 | for(t = clients; t && t->win != trans; t = t->next); | 204 | for(t = clients; t && t->win != trans; t = t->next); |
| 205 | settags(c, t); | 205 | settags(c, t); |
| 206 | if(!c->isuntiled) | 206 | if(!c->isfloating) |
| 207 | c->isuntiled = (t != NULL) || c->isfixed; | 207 | c->isfloating = (t != NULL) || c->isfixed; |
| 208 | attach(c); | 208 | attach(c); |
| 209 | attachstack(c); | 209 | attachstack(c); |
| 210 | c->isbanned = True; | 210 | c->isbanned = True; |
| @@ -285,10 +285,10 @@ resize(Client *c, int x, int y, int w, int h, Bool sizehints) { | |||
| 285 | } | 285 | } |
| 286 | 286 | ||
| 287 | void | 287 | void |
| 288 | toggletiled(const char *arg) { | 288 | togglefloating(const char *arg) { |
| 289 | if(!sel || lt->arrange == untile) | 289 | if(!sel || lt->arrange == floating) |
| 290 | return; | 290 | return; |
| 291 | sel->isuntiled = !sel->isuntiled; | 291 | sel->isfloating = !sel->isfloating; |
| 292 | lt->arrange(); | 292 | lt->arrange(); |
| 293 | } | 293 | } |
| 294 | 294 | ||
