commands: allow setting floating on scratchpad containers

master
Ian Fan 6 years ago
parent 34dea3d9d2
commit ec0013b9f5

@ -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));

Loading…
Cancel
Save