JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
applied anydots remark of togglefloating()
authorAnselm R. Garbe <arg@suckless.org>
Wed, 23 May 2007 05:47:20 +0000 (07:47 +0200)
committerAnselm R. Garbe <arg@suckless.org>
Wed, 23 May 2007 05:47:20 +0000 (07:47 +0200)
client.c

index cf3a686..3e9b239 100644 (file)
--- a/client.c
+++ b/client.c
@@ -304,7 +304,7 @@ void
 togglefloating(const char *arg) {
        if(!sel || lt->arrange == floating)
                return;
-       sel->isfloating = !sel->isfloating;
+       sel->isfloating = !sel->isfloating || sel->isfixed;
        lt->arrange();
 }