aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-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) {
}
}
- if (container->scratchpad && !container->workspace) {
- return cmd_results_new(CMD_FAILURE,
- "Cannot set floating status on a hidden scratchpad container");
- }
-
bool wants_floating =
parse_boolean(argv[0], container_is_floating(container));