summaryrefslogtreecommitdiff
path: root/sway/commands/input/pointer_accel.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/input/pointer_accel.c')
-rw-r--r--sway/commands/input/pointer_accel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/commands/input/pointer_accel.c b/sway/commands/input/pointer_accel.c
index 2c9db5bf..d2261a63 100644
--- a/sway/commands/input/pointer_accel.c
+++ b/sway/commands/input/pointer_accel.c
@@ -1,5 +1,6 @@
#include <stdlib.h>
#include <string.h>
+#include "sway/config.h"
#include "sway/commands.h"
#include "sway/input/input-manager.h"
@@ -22,6 +23,6 @@ struct cmd_results *input_cmd_pointer_accel(int argc, char **argv) {
}
new_config->pointer_accel = pointer_accel;
- input_cmd_apply(new_config);
+ apply_input_config(new_config);
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
}