diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/input/cursor.h | 1 | ||||
-rw-r--r-- | include/sway/input/input-manager.h | 2 | ||||
-rw-r--r-- | include/sway/input/seat.h | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h index 2f70cf4b..a16b793b 100644 --- a/include/sway/input/cursor.h +++ b/include/sway/input/cursor.h | |||
@@ -25,6 +25,7 @@ struct sway_cursor { | |||
25 | struct wl_listener request_set_cursor; | 25 | struct wl_listener request_set_cursor; |
26 | }; | 26 | }; |
27 | 27 | ||
28 | void sway_cursor_destroy(struct sway_cursor *cursor); | ||
28 | struct sway_cursor *sway_cursor_create(struct sway_seat *seat); | 29 | struct sway_cursor *sway_cursor_create(struct sway_seat *seat); |
29 | 30 | ||
30 | #endif | 31 | #endif |
diff --git a/include/sway/input/input-manager.h b/include/sway/input/input-manager.h index 2bf297ce..63806b8e 100644 --- a/include/sway/input/input-manager.h +++ b/include/sway/input/input-manager.h | |||
@@ -46,4 +46,6 @@ void sway_input_manager_apply_seat_config(struct sway_input_manager *input, | |||
46 | struct sway_seat *sway_input_manager_get_default_seat( | 46 | struct sway_seat *sway_input_manager_get_default_seat( |
47 | struct sway_input_manager *input); | 47 | struct sway_input_manager *input); |
48 | 48 | ||
49 | struct sway_seat *input_manager_get_seat(struct sway_input_manager *input, | ||
50 | const char *seat_name); | ||
49 | #endif | 51 | #endif |
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h index d703f94c..b21cbccb 100644 --- a/include/sway/input/seat.h +++ b/include/sway/input/seat.h | |||
@@ -29,6 +29,8 @@ struct sway_seat { | |||
29 | struct sway_seat *sway_seat_create(struct sway_input_manager *input, | 29 | struct sway_seat *sway_seat_create(struct sway_input_manager *input, |
30 | const char *seat_name); | 30 | const char *seat_name); |
31 | 31 | ||
32 | void sway_seat_destroy(struct sway_seat *seat); | ||
33 | |||
32 | void sway_seat_add_device(struct sway_seat *seat, | 34 | void sway_seat_add_device(struct sway_seat *seat, |
33 | struct sway_input_device *device); | 35 | struct sway_input_device *device); |
34 | 36 | ||