diff options
Diffstat (limited to 'sway/commands/input/scroll_method.c')
-rw-r--r-- | sway/commands/input/scroll_method.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/commands/input/scroll_method.c b/sway/commands/input/scroll_method.c index 40277155..035262cf 100644 --- a/sway/commands/input/scroll_method.c +++ b/sway/commands/input/scroll_method.c @@ -1,5 +1,6 @@ #include <string.h> #include <strings.h> +#include "sway/config.h" #include "sway/commands.h" #include "sway/input/input-manager.h" @@ -28,6 +29,6 @@ struct cmd_results *input_cmd_scroll_method(int argc, char **argv) { "Expected 'scroll_method <none|two_finger|edge|on_button_down>'"); } - input_cmd_apply(new_config); + apply_input_config(new_config); return cmd_results_new(CMD_SUCCESS, NULL, NULL); } |