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