summaryrefslogtreecommitdiff
path: root/sway/commands/input/xkb_model.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/input/xkb_model.c')
-rw-r--r--sway/commands/input/xkb_model.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/input/xkb_model.c b/sway/commands/input/xkb_model.c
index 167ce2e7..338bd7de 100644
--- a/sway/commands/input/xkb_model.c
+++ b/sway/commands/input/xkb_model.c
@@ -7,7 +7,7 @@
struct cmd_results *input_cmd_xkb_model(int argc, char **argv) {
sway_log(L_DEBUG, "xkb model for device: %s", current_input_config->identifier);
struct cmd_results *error = NULL;
- if ((error = checkarg(argc, "xkb_model", EXPECTED_AT_LEAST, 1))) {
+ if ((error = checkarg(argc, "xkb_model", EXPECTED_EQUAL_TO, 1))) {
return error;
}
if (!current_input_config) {