mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 01:41:30 +00:00
commands: allow setting floating on scratchpad containers
This commit is contained in:
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…
Reference in a new issue