diff view.c @ 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
parents 1477b61ec8d4
children f7dcd3ac8d6f
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();