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