summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/client.c b/client.c
index 4ba15c4..d180278 100644
--- a/client.c
+++ b/client.c
@@ -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
287void 287void
288toggletiled(const char *arg) { 288togglefloating(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