aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/input/accel_profile.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-16 12:14:24 -0500
committerTony Crisci <tony@dubstepdish.com>2017-12-16 12:14:24 -0500
commitf16aa3c0ad8328da0820e81c99a619835f36082f (patch)
tree4f9c99cfa6304fc5f0f3c8eef2cac17541782e55 /sway/commands/input/accel_profile.c
parentf4a5a0ead4c8b155985c242db1fa5de5fa4807a0 (diff)
rename config apply cmds
Diffstat (limited to 'sway/commands/input/accel_profile.c')
-rw-r--r--sway/commands/input/accel_profile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/commands/input/accel_profile.c b/sway/commands/input/accel_profile.c
index 9b5fb7a2..f72b7d48 100644
--- a/sway/commands/input/accel_profile.c
+++ b/sway/commands/input/accel_profile.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"
@@ -24,6 +25,6 @@ struct cmd_results *input_cmd_accel_profile(int argc, char **argv) {
"Expected 'accel_profile <adaptive|flat>'");
}
- input_cmd_apply(new_config);
+ apply_input_config(new_config);
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
}