From 6ee8e3e93b79b7c92246d7d520d5a24be59e5807 Mon Sep 17 00:00:00 2001
From: "Anselm R. Garbe" <arg@suckless.org>
Date: Wed, 23 May 2007 07:47:20 +0200
Subject: applied anydots remark of togglefloating()

---
 client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client.c b/client.c
index cf3a686..3e9b239 100644
--- 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();
 }
 
-- 
cgit v1.2.3