aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/input-manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/input/input-manager.h')
-rw-r--r--include/sway/input/input-manager.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/sway/input/input-manager.h b/include/sway/input/input-manager.h
index 7d7c463f..cdcffab6 100644
--- a/include/sway/input/input-manager.h
+++ b/include/sway/input/input-manager.h
@@ -6,6 +6,7 @@
6#include "list.h" 6#include "list.h"
7 7
8extern struct input_config *current_input_config; 8extern struct input_config *current_input_config;
9extern struct seat_config *current_seat_config;
9 10
10/** 11/**
11 * The global singleton input manager 12 * The global singleton input manager
@@ -17,7 +18,6 @@ struct sway_input_device {
17 char *identifier; 18 char *identifier;
18 struct wlr_input_device *wlr_device; 19 struct wlr_input_device *wlr_device;
19 struct input_config *config; 20 struct input_config *config;
20 struct sway_keyboard *keyboard; // managed by the seat
21 struct wl_list link; 21 struct wl_list link;
22}; 22};
23 23
@@ -40,7 +40,10 @@ void sway_input_manager_set_focus(struct sway_input_manager *input,
40 40
41void sway_input_manager_configure_xcursor(struct sway_input_manager *input); 41void sway_input_manager_configure_xcursor(struct sway_input_manager *input);
42 42
43void sway_input_manager_apply_config(struct sway_input_manager *input, 43void sway_input_manager_apply_input_config(struct sway_input_manager *input,
44 struct input_config *config); 44 struct input_config *input_config);
45
46void sway_input_manager_apply_seat_config(struct sway_input_manager *input,
47 struct seat_config *seat_config);
45 48
46#endif 49#endif