summaryrefslogtreecommitdiff
path: root/sway/commands/input/click_method.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/input/click_method.c')
-rw-r--r--sway/commands/input/click_method.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/commands/input/click_method.c b/sway/commands/input/click_method.c
index a0e3bddf..dcf64c1a 100644
--- a/sway/commands/input/click_method.c
+++ b/sway/commands/input/click_method.c
@@ -1,6 +1,7 @@
#include <string.h>
#include <strings.h>
#include "sway/commands.h"
+#include "sway/config.h"
#include "sway/input/input-manager.h"
#include "log.h"
@@ -29,6 +30,6 @@ struct cmd_results *input_cmd_click_method(int argc, char **argv) {
"Expected 'click_method <none|button_areas|clickfinger'");
}
- input_cmd_apply(new_config);
+ apply_input_config(new_config);
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
}