diff options
Diffstat (limited to 'include/sway/input/cursor.h')
-rw-r--r-- | include/sway/input/cursor.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h index 5dd109ca..b0a3a7c5 100644 --- a/include/sway/input/cursor.h +++ b/include/sway/input/cursor.h | |||
@@ -11,6 +11,7 @@ struct sway_cursor { | |||
11 | } previous; | 11 | } previous; |
12 | struct wlr_xcursor_manager *xcursor_manager; | 12 | struct wlr_xcursor_manager *xcursor_manager; |
13 | 13 | ||
14 | const char *image; | ||
14 | struct wl_client *image_client; | 15 | struct wl_client *image_client; |
15 | 16 | ||
16 | struct wl_listener motion; | 17 | struct wl_listener motion; |
@@ -37,4 +38,7 @@ void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time_msec, | |||
37 | void dispatch_cursor_button(struct sway_cursor *cursor, uint32_t time_msec, | 38 | void dispatch_cursor_button(struct sway_cursor *cursor, uint32_t time_msec, |
38 | uint32_t button, enum wlr_button_state state); | 39 | uint32_t button, enum wlr_button_state state); |
39 | 40 | ||
41 | void cursor_set_image(struct sway_cursor *cursor, const char *image, | ||
42 | struct wl_client *client); | ||
43 | |||
40 | #endif | 44 | #endif |