about summary refs log tree commit diff stats
path: root/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/screen.c b/screen.c
index 8d04911..255184a 100644
--- a/screen.c
+++ b/screen.c
@@ -284,7 +284,7 @@ togglebar(const char *arg) {
 
 void
 togglefloating(const char *arg) {
-	if(!sel || isfloating())
+	if(!sel)
 		return;
 	sel->isfloating = !sel->isfloating;
 	if(sel->isfloating)