diff options
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) { | |||
| 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 | ||
