diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/input/cursor.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h index 03cb8b83..5dd109ca 100644 --- a/include/sway/input/cursor.h +++ b/include/sway/input/cursor.h | |||
@@ -6,7 +6,9 @@ | |||
6 | struct sway_cursor { | 6 | struct sway_cursor { |
7 | struct sway_seat *seat; | 7 | struct sway_seat *seat; |
8 | struct wlr_cursor *cursor; | 8 | struct wlr_cursor *cursor; |
9 | struct cursor_position *previous; | 9 | struct { |
10 | double x, y; | ||
11 | } previous; | ||
10 | struct wlr_xcursor_manager *xcursor_manager; | 12 | struct wlr_xcursor_manager *xcursor_manager; |
11 | 13 | ||
12 | struct wl_client *image_client; | 14 | struct wl_client *image_client; |
@@ -28,10 +30,6 @@ struct sway_cursor { | |||
28 | struct wl_listener request_set_cursor; | 30 | struct wl_listener request_set_cursor; |
29 | }; | 31 | }; |
30 | 32 | ||
31 | struct cursor_position { | ||
32 | double x, y; | ||
33 | }; | ||
34 | |||
35 | void sway_cursor_destroy(struct sway_cursor *cursor); | 33 | void sway_cursor_destroy(struct sway_cursor *cursor); |
36 | struct sway_cursor *sway_cursor_create(struct sway_seat *seat); | 34 | struct sway_cursor *sway_cursor_create(struct sway_seat *seat); |
37 | void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time_msec, | 35 | void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time_msec, |