summaryrefslogtreecommitdiff
path: root/sway/commands/floating.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/floating.c')
-rw-r--r--sway/commands/floating.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sway/commands/floating.c b/sway/commands/floating.c
index 57bf0017..82109369 100644
--- a/sway/commands/floating.c
+++ b/sway/commands/floating.c
@@ -40,12 +40,7 @@ struct cmd_results *cmd_floating(int argc, char **argv) {
}
}
- if (container->scratchpad && !container->workspace) {
- return cmd_results_new(CMD_FAILURE,
- "Cannot set floating status on a hidden scratchpad container");
- }
-
- bool wants_floating =
+ bool wants_floating =
parse_boolean(argv[0], container_is_floating(container));
container_set_floating(container, wants_floating);