summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sway/config.h1
-rw-r--r--include/sway/input/input-manager.h3
-rw-r--r--include/sway/view.h1
3 files changed, 5 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index 27fae0c6..be29082e 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -355,6 +355,7 @@ struct sway_config {
355 struct { 355 struct {
356 struct input_config *input_config; 356 struct input_config *input_config;
357 struct seat_config *seat_config; 357 struct seat_config *seat_config;
358 struct sway_seat *seat;
358 } handler_context; 359 } handler_context;
359}; 360};
360 361
diff --git a/include/sway/input/input-manager.h b/include/sway/input/input-manager.h
index 58a93fe3..2bf297ce 100644
--- a/include/sway/input/input-manager.h
+++ b/include/sway/input/input-manager.h
@@ -43,4 +43,7 @@ void sway_input_manager_apply_input_config(struct sway_input_manager *input,
43void sway_input_manager_apply_seat_config(struct sway_input_manager *input, 43void sway_input_manager_apply_seat_config(struct sway_input_manager *input,
44 struct seat_config *seat_config); 44 struct seat_config *seat_config);
45 45
46struct sway_seat *sway_input_manager_get_default_seat(
47 struct sway_input_manager *input);
48
46#endif 49#endif
diff --git a/include/sway/view.h b/include/sway/view.h
index 08c5480b..240ffaa5 100644
--- a/include/sway/view.h
+++ b/include/sway/view.h
@@ -92,6 +92,7 @@ struct sway_view {
92 void (*set_position)(struct sway_view *view, 92 void (*set_position)(struct sway_view *view,
93 double ox, double oy); 93 double ox, double oy);
94 void (*set_activated)(struct sway_view *view, bool activated); 94 void (*set_activated)(struct sway_view *view, bool activated);
95 void (*close)(struct sway_view *view);
95 } iface; 96 } iface;
96 97
97 // only used for unmanaged views (shell specific) 98 // only used for unmanaged views (shell specific)