commands: allow setting floating on scratchpad containers

This commit is contained in:
Ian Fan 2019-01-22 11:08:37 +00:00
parent 34dea3d9d2
commit ec0013b9f5

View file

@ -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 = bool wants_floating =
parse_boolean(argv[0], container_is_floating(container)); parse_boolean(argv[0], container_is_floating(container));