aboutsummaryrefslogtreecommitdiff
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 ffa22a1..503f1c2 100644
--- a/view.c
+++ b/view.c
@@ -261,7 +261,7 @@ zoom(Arg *arg) {
n++;
c = sel;
- if(arrange != dofloat) {
+ if((arrange != dofloat) && c != nexttiled(clients)) {
detach(c);
if(clients)
clients->prev = c;