sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit f7568e26e96abb55b5aaaad76133057f0d14b478
parent 1376d3610455960cbeb098159d39963c55461d92
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sat,  8 Sep 2018 17:06:33 -0400

Merge pull request #2609 from ianyfan/commands

 commands: prevent running empty seat command
Diffstat:
Msway/commands/seat.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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; }