backend/wayland: remember cursor state so that we can call update_wl_output_cursor arbitrarily

This commit is contained in:
Alexander Orzechowski 2023-02-02 12:48:07 -05:00
parent e14c3e1e1a
commit f8733c40d0
2 changed files with 39 additions and 28 deletions

View file

@ -95,6 +95,7 @@ struct wlr_wl_output {
struct {
struct wlr_wl_pointer *pointer;
struct wl_surface *surface;
struct wlr_buffer *buffer;
int32_t hotspot_x, hotspot_y;
} cursor;
};