aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-11 04:17:14 -0500
committerTony Crisci <tony@dubstepdish.com>2017-12-11 07:55:01 -0500
commit462a451328a1d6f0b17d34b431d6bf3dec87c1ba (patch)
tree56649e0702d13e8a7dd5143b5b7d2b9db094a1a7 /include/sway
parent9ae906cd3752fd16ea2c3e046e24abb8ec8462a2 (diff)
downloadsway-462a451328a1d6f0b17d34b431d6bf3dec87c1ba.tar.xz
input config
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/commands.h4
-rw-r--r--include/sway/input/input-manager.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h
index b1f0423d..138e3c29 100644
--- a/include/sway/commands.h
+++ b/include/sway/commands.h
@@ -1,6 +1,8 @@
#ifndef _SWAY_COMMANDS_H
#define _SWAY_COMMANDS_H
+#include "config.h"
+
/**
* Indicates the result of a command's execution.
*/
@@ -39,6 +41,8 @@ enum expected_args {
EXPECTED_EQUAL_TO
};
+void input_cmd_apply(struct input_config *input);
+
struct cmd_results *checkarg(int argc, const char *name,
enum expected_args type, int val);
diff --git a/include/sway/input/input-manager.h b/include/sway/input/input-manager.h
index 9548c170..78bc161f 100644
--- a/include/sway/input/input-manager.h
+++ b/include/sway/input/input-manager.h
@@ -5,6 +5,8 @@
#include "sway/config.h"
#include "list.h"
+extern struct input_config *current_input_config;
+
struct sway_input_manager {
struct wl_listener input_add;
struct wl_listener input_remove;