summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.c b/client.c
index 040dd15..f3d31cb 100644
--- a/client.c
+++ b/client.c
@@ -305,8 +305,8 @@ togglefloating(const char *arg) {
305 if(!sel || lt->arrange == floating) 305 if(!sel || lt->arrange == floating)
306 return; 306 return;
307 sel->isfloating = !sel->isfloating; 307 sel->isfloating = !sel->isfloating;
308 if(sel->isfloating && sel->isfixed) 308 if(sel->isfloating)
309 resize(sel, sel->x, sel->y, sel->minw, sel->minh, True); 309 resize(sel, sel->x, sel->y, sel->w, sel->h, True);
310 lt->arrange(); 310 lt->arrange();
311} 311}
312 312