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