summaryrefslogtreecommitdiff
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) {
updatetitle(c);
for(t = clients; t && t->win != trans; t = t->next);
settags(c, t);
- if(!c->isuntiled)
- c->isuntiled = (t != NULL) || c->isfixed;
+ if(!c->isfloating)
+ c->isfloating = (t != NULL) || c->isfixed;
attach(c);
attachstack(c);
c->isbanned = True;
@@ -285,10 +285,10 @@ resize(Client *c, int x, int y, int w, int h, Bool sizehints) {
}
void
-toggletiled(const char *arg) {
- if(!sel || lt->arrange == untile)
+togglefloating(const char *arg) {
+ if(!sel || lt->arrange == floating)
return;
- sel->isuntiled = !sel->isuntiled;
+ sel->isfloating = !sel->isfloating;
lt->arrange();
}