summaryrefslogtreecommitdiffstats
path: root/sway/commands/input/drag_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/input/drag_lock.c')
-rw-r--r--sway/commands/input/drag_lock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/commands/input/drag_lock.c b/sway/commands/input/drag_lock.c
index 149a6183..1783978a 100644
--- a/sway/commands/input/drag_lock.c
+++ b/sway/commands/input/drag_lock.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
@@ -24,6 +25,6 @@ struct cmd_results *input_cmd_drag_lock(int argc, char **argv) {
24 "Expected 'drag_lock <enabled|disabled>'"); 25 "Expected 'drag_lock <enabled|disabled>'");
25 } 26 }
26 27
27 input_cmd_apply(new_config); 28 apply_input_config(new_config);
28 return cmd_results_new(CMD_SUCCESS, NULL, NULL); 29 return cmd_results_new(CMD_SUCCESS, NULL, NULL);
29} 30}