JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
togglefloat should only work in dotile mode (thanks to Sander for this hint)
authorarg@mig29 <unknown>
Tue, 28 Nov 2006 16:35:31 +0000 (17:35 +0100)
committerarg@mig29 <unknown>
Tue, 28 Nov 2006 16:35:31 +0000 (17:35 +0100)
view.c

diff --git a/view.c b/view.c
index 167a1c4..c11e349 100644 (file)
--- 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();