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.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h
index 5455601e..bd94a357 100644
--- a/include/sway/input/seat.h
+++ b/include/sway/input/seat.h
@@ -10,26 +10,21 @@ struct sway_seat {
struct sway_input_manager *input;
swayc_t *focus;
- struct wl_list keyboards; // sway_keyboard::link
- struct wl_list pointers; // sway_pointer::link
+ list_t *devices;
struct wl_listener focus_destroy;
-};
-struct sway_pointer {
- struct sway_seat *seat;
- struct wlr_input_device *device;
- struct wl_list link;
+ struct wl_list link; // input_manager::seats
};
struct sway_seat *sway_seat_create(struct sway_input_manager *input,
const char *seat_name);
void sway_seat_add_device(struct sway_seat *seat,
- struct wlr_input_device *device);
+ struct sway_input_device *device);
void sway_seat_remove_device(struct sway_seat *seat,
- struct wlr_input_device *device);
+ struct sway_input_device *device);
void sway_seat_configure_xcursor(struct sway_seat *seat);