summaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'view.c')
-rw-r--r--view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/view.c b/view.c
index 167a1c4..c11e349 100644
--- a/view.c
+++ b/view.c
@@ -202,7 +202,7 @@ restack(void) {
void
togglefloat(Arg *arg) {
- if (!sel)
+ if (!sel || arrange == dofloat)
return;
sel->isfloat = !sel->isfloat;
arrange();