togglefloat should only work in dotile mode (thanks to Sander for this hint)
authorarg@mig29
Tue, 28 Nov 2006 17:35:31 +0100
changeset 591 d9e9df9fdce6
parent 590 d6ff27532fdd
child 592 32b246925086
togglefloat should only work in dotile mode (thanks to Sander for this hint)
view.c
--- 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();