aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/input
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2017-12-16 12:40:58 -0500
committerLibravatar Tony Crisci <tony@dubstepdish.com>2017-12-16 12:40:58 -0500
commitb8261ab24bbc8159deffadb78f5108a612d27534 (patch)
tree26fa6ad1eb76cdf043240700b85a9a6ab7779039 /sway/commands/input
parentrename config apply cmds (diff)
downloadsway-b8261ab24bbc8159deffadb78f5108a612d27534.tar.gz
sway-b8261ab24bbc8159deffadb78f5108a612d27534.tar.zst
sway-b8261ab24bbc8159deffadb78f5108a612d27534.zip
expect exactly one xkb arg
Diffstat (limited to 'sway/commands/input')
-rw-r--r--sway/commands/input/xkb_layout.c2
-rw-r--r--sway/commands/input/xkb_model.c2
-rw-r--r--sway/commands/input/xkb_options.c2
-rw-r--r--sway/commands/input/xkb_rules.c2
-rw-r--r--sway/commands/input/xkb_variant.c2
5 files changed, 5 insertions, 5 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 @@
7struct cmd_results *input_cmd_xkb_layout(int argc, char **argv) { 7struct cmd_results *input_cmd_xkb_layout(int argc, char **argv) {
8 sway_log(L_DEBUG, "xkb layout for device: %s", current_input_config->identifier); 8 sway_log(L_DEBUG, "xkb layout for device: %s", current_input_config->identifier);
9 struct cmd_results *error = NULL; 9 struct cmd_results *error = NULL;
10 if ((error = checkarg(argc, "xkb_layout", EXPECTED_AT_LEAST, 1))) { 10 if ((error = checkarg(argc, "xkb_layout", EXPECTED_EQUAL_TO, 1))) {
11 return error; 11 return error;
12 } 12 }
13 if (!current_input_config) { 13 if (!current_input_config) {
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 @@
7struct cmd_results *input_cmd_xkb_model(int argc, char **argv) { 7struct cmd_results *input_cmd_xkb_model(int argc, char **argv) {
8 sway_log(L_DEBUG, "xkb model for device: %s", current_input_config->identifier); 8 sway_log(L_DEBUG, "xkb model for device: %s", current_input_config->identifier);
9 struct cmd_results *error = NULL; 9 struct cmd_results *error = NULL;
10 if ((error = checkarg(argc, "xkb_model", EXPECTED_AT_LEAST, 1))) { 10 if ((error = checkarg(argc, "xkb_model", EXPECTED_EQUAL_TO, 1))) {
11 return error; 11 return error;
12 } 12 }
13 if (!current_input_config) { 13 if (!current_input_config) {
diff --git a/sway/commands/input/xkb_options.c b/sway/commands/input/xkb_options.c
index 180f40d5..b24c33c1 100644
--- a/sway/commands/input/xkb_options.c
+++ b/sway/commands/input/xkb_options.c
@@ -7,7 +7,7 @@
7struct cmd_results *input_cmd_xkb_options(int argc, char **argv) { 7struct cmd_results *input_cmd_xkb_options(int argc, char **argv) {
8 sway_log(L_DEBUG, "xkb options for device: %s", current_input_config->identifier); 8 sway_log(L_DEBUG, "xkb options for device: %s", current_input_config->identifier);
9 struct cmd_results *error = NULL; 9 struct cmd_results *error = NULL;
10 if ((error = checkarg(argc, "xkb_options", EXPECTED_AT_LEAST, 1))) { 10 if ((error = checkarg(argc, "xkb_options", EXPECTED_EQUAL_TO, 1))) {
11 return error; 11 return error;
12 } 12 }
13 if (!current_input_config) { 13 if (!current_input_config) {
diff --git a/sway/commands/input/xkb_rules.c b/sway/commands/input/xkb_rules.c
index 047e8c84..def614e9 100644
--- a/sway/commands/input/xkb_rules.c
+++ b/sway/commands/input/xkb_rules.c
@@ -7,7 +7,7 @@
7struct cmd_results *input_cmd_xkb_rules(int argc, char **argv) { 7struct cmd_results *input_cmd_xkb_rules(int argc, char **argv) {
8 sway_log(L_DEBUG, "xkb rules for device: %s", current_input_config->identifier); 8 sway_log(L_DEBUG, "xkb rules for device: %s", current_input_config->identifier);
9 struct cmd_results *error = NULL; 9 struct cmd_results *error = NULL;
10 if ((error = checkarg(argc, "xkb_rules", EXPECTED_AT_LEAST, 1))) { 10 if ((error = checkarg(argc, "xkb_rules", EXPECTED_EQUAL_TO, 1))) {
11 return error; 11 return error;
12 } 12 }
13 if (!current_input_config) { 13 if (!current_input_config) {
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 @@
7struct cmd_results *input_cmd_xkb_variant(int argc, char **argv) { 7struct cmd_results *input_cmd_xkb_variant(int argc, char **argv) {
8 sway_log(L_DEBUG, "xkb variant for device: %s", current_input_config->identifier); 8 sway_log(L_DEBUG, "xkb variant for device: %s", current_input_config->identifier);
9 struct cmd_results *error = NULL; 9 struct cmd_results *error = NULL;
10 if ((error = checkarg(argc, "xkb_variant", EXPECTED_AT_LEAST, 1))) { 10 if ((error = checkarg(argc, "xkb_variant", EXPECTED_EQUAL_TO, 1))) {
11 return error; 11 return error;
12 } 12 }
13 if (!current_input_config) { 13 if (!current_input_config) {