aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/input/scroll_method.c
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2017-12-16 12:14:24 -0500
committerLibravatar Tony Crisci <tony@dubstepdish.com>2017-12-16 12:14:24 -0500
commitf16aa3c0ad8328da0820e81c99a619835f36082f (patch)
tree4f9c99cfa6304fc5f0f3c8eef2cac17541782e55 /sway/commands/input/scroll_method.c
parentput seat and input config in their own files (diff)
downloadsway-f16aa3c0ad8328da0820e81c99a619835f36082f.tar.gz
sway-f16aa3c0ad8328da0820e81c99a619835f36082f.tar.zst
sway-f16aa3c0ad8328da0820e81c99a619835f36082f.zip
rename config apply cmds
Diffstat (limited to 'sway/commands/input/scroll_method.c')
-rw-r--r--sway/commands/input/scroll_method.c3
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 @@
1#include <string.h> 1#include <string.h>
2#include <strings.h> 2#include <strings.h>
3#include "sway/config.h"
3#include "sway/commands.h" 4#include "sway/commands.h"
4#include "sway/input/input-manager.h" 5#include "sway/input/input-manager.h"
5 6
@@ -28,6 +29,6 @@ struct cmd_results *input_cmd_scroll_method(int argc, char **argv) {
28 "Expected 'scroll_method <none|two_finger|edge|on_button_down>'"); 29 "Expected 'scroll_method <none|two_finger|edge|on_button_down>'");
29 } 30 }
30 31
31 input_cmd_apply(new_config); 32 apply_input_config(new_config);
32 return cmd_results_new(CMD_SUCCESS, NULL, NULL); 33 return cmd_results_new(CMD_SUCCESS, NULL, NULL);
33} 34}