diff options
Diffstat (limited to 'sway/commands/layout.c')
-rw-r--r-- | sway/commands/layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/layout.c b/sway/commands/layout.c index c2ce2e78..65f67af8 100644 --- a/sway/commands/layout.c +++ b/sway/commands/layout.c | |||
@@ -96,7 +96,7 @@ static enum sway_container_layout get_layout(int argc, char **argv, | |||
96 | 96 | ||
97 | struct cmd_results *cmd_layout(int argc, char **argv) { | 97 | struct cmd_results *cmd_layout(int argc, char **argv) { |
98 | struct cmd_results *error = NULL; | 98 | struct cmd_results *error = NULL; |
99 | if ((error = checkarg(argc, "layout", EXPECTED_MORE_THAN, 0))) { | 99 | if ((error = checkarg(argc, "layout", EXPECTED_AT_LEAST, 1))) { |
100 | return error; | 100 | return error; |
101 | } | 101 | } |
102 | struct sway_container *container = config->handler_context.container; | 102 | struct sway_container *container = config->handler_context.container; |