aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/commands/floating.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sway/commands/floating.c b/sway/commands/floating.c
index 52e4ed08..82109369 100644
--- a/sway/commands/floating.c
+++ b/sway/commands/floating.c
@@ -40,11 +40,6 @@ struct cmd_results *cmd_floating(int argc, char **argv) {
40 } 40 }
41 } 41 }
42 42
43 if (container->scratchpad && !container->workspace) {
44 return cmd_results_new(CMD_FAILURE,
45 "Cannot set floating status on a hidden scratchpad container");
46 }
47
48 bool wants_floating = 43 bool wants_floating =
49 parse_boolean(argv[0], container_is_floating(container)); 44 parse_boolean(argv[0], container_is_floating(container));
50 45