aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/input/tap.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/input/tap.c')
-rw-r--r--sway/commands/input/tap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/commands/input/tap.c b/sway/commands/input/tap.c
index e7f03058..a8d1a10c 100644
--- a/sway/commands/input/tap.c
+++ b/sway/commands/input/tap.c
@@ -23,11 +23,12 @@ struct cmd_results *input_cmd_tap(int argc, char **argv) {
23 } else if (strcasecmp(argv[0], "disabled") == 0) { 23 } else if (strcasecmp(argv[0], "disabled") == 0) {
24 new_config->tap = LIBINPUT_CONFIG_TAP_DISABLED; 24 new_config->tap = LIBINPUT_CONFIG_TAP_DISABLED;
25 } else { 25 } else {
26 free_input_config(new_config);
26 return cmd_results_new(CMD_INVALID, "tap", 27 return cmd_results_new(CMD_INVALID, "tap",
27 "Expected 'tap <enabled|disabled>'"); 28 "Expected 'tap <enabled|disabled>'");
28 } 29 }
29 30
30 wlr_log(L_DEBUG, "apply-tap for device: %s", 31 wlr_log(WLR_DEBUG, "apply-tap for device: %s",
31 current_input_config->identifier); 32 current_input_config->identifier);
32 apply_input_config(new_config); 33 apply_input_config(new_config);
33 return cmd_results_new(CMD_SUCCESS, NULL, NULL); 34 return cmd_results_new(CMD_SUCCESS, NULL, NULL);