changeset 591:d9e9df9fdce6

togglefloat should only work in dotile mode (thanks to Sander for this hint)
author arg@mig29
date Tue, 28 Nov 2006 17:35:31 +0100 (2006-11-28)
parents d6ff27532fdd
children 32b246925086
files view.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/view.c	Mon Nov 27 17:51:50 2006 +0100
+++ b/view.c	Tue Nov 28 17:35:31 2006 +0100
@@ -202,7 +202,7 @@
 
 void
 togglefloat(Arg *arg) {
-	if (!sel)
+	if (!sel || arrange == dofloat)
 		return;
 	sel->isfloat = !sel->isfloat;
 	arrange();