aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input/seat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/input/seat.h')
-rw-r--r--include/sway/input/seat.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h
index f7f8a1bb..964c0f7b 100644
--- a/include/sway/input/seat.h
+++ b/include/sway/input/seat.h
@@ -7,9 +7,13 @@
struct sway_seat {
struct wlr_seat *seat;
struct sway_cursor *cursor;
+ struct sway_input_manager *input;
+ swayc_t *focus;
+
+ struct wl_listener focus_destroy;
};
-struct sway_seat *sway_seat_create(struct wl_display *display,
+struct sway_seat *sway_seat_create(struct sway_input_manager *input,
const char *seat_name);
void sway_seat_add_device(struct sway_seat *seat,
@@ -20,4 +24,6 @@ void sway_seat_remove_device(struct sway_seat *seat,
void sway_seat_configure_xcursor(struct sway_seat *seat);
+void sway_seat_set_focus(struct sway_seat *seat, swayc_t *container);
+
#endif