aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/floating.c
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2019-01-22 11:08:37 +0000
committerIan Fan <ianfan0@gmail.com>2019-01-22 11:47:48 +0000
commitec0013b9f5203f03602fb13ed1b4b0fcd4fb4f5a (patch)
tree7c2c0b2b985134ebf03adb1277863e7c59968565 /sway/commands/floating.c
parent34dea3d9d26a4e50c435a0fc51933fea956743cd (diff)
commands: allow setting floating on scratchpad containers
Diffstat (limited to 'sway/commands/floating.c')
-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));