aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/seat.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-09-08 17:06:33 -0400
committerGitHub <noreply@github.com>2018-09-08 17:06:33 -0400
commitf7568e26e96abb55b5aaaad76133057f0d14b478 (patch)
tree690125891c5c0260eedf867ed7fc015ea346675c /sway/commands/seat.c
parent1376d3610455960cbeb098159d39963c55461d92 (diff)
parent6cd92b193cc3c8e011d2b29c536737d6a2a8c727 (diff)
Merge pull request #2609 from ianyfan/commands
commands: prevent running empty seat command
Diffstat (limited to 'sway/commands/seat.c')
-rw-r--r--sway/commands/seat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/seat.c b/sway/commands/seat.c
index 5e3c0bd0..5abb19b0 100644
--- a/sway/commands/seat.c
+++ b/sway/commands/seat.c
@@ -14,7 +14,7 @@ static struct cmd_handler seat_handlers[] = {
struct cmd_results *cmd_seat(int argc, char **argv) {
struct cmd_results *error = NULL;
- if ((error = checkarg(argc, "seat", EXPECTED_AT_LEAST, 1))) {
+ if ((error = checkarg(argc, "seat", EXPECTED_AT_LEAST, 2))) {
return error;
}