mirror of
https://github.com/swaywm/sway.git
synced 2025-11-18 06:59:48 -05:00
Move previous cursor_position inline.
This commit is contained in:
parent
d1ebbebea0
commit
1b8de39287
2 changed files with 6 additions and 16 deletions
|
|
@ -6,7 +6,9 @@
|
|||
struct sway_cursor {
|
||||
struct sway_seat *seat;
|
||||
struct wlr_cursor *cursor;
|
||||
struct cursor_position *previous;
|
||||
struct {
|
||||
double x, y;
|
||||
} previous;
|
||||
struct wlr_xcursor_manager *xcursor_manager;
|
||||
|
||||
struct wl_client *image_client;
|
||||
|
|
@ -28,10 +30,6 @@ struct sway_cursor {
|
|||
struct wl_listener request_set_cursor;
|
||||
};
|
||||
|
||||
struct cursor_position {
|
||||
double x, y;
|
||||
};
|
||||
|
||||
void sway_cursor_destroy(struct sway_cursor *cursor);
|
||||
struct sway_cursor *sway_cursor_create(struct sway_seat *seat);
|
||||
void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time_msec,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue