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 committed by Alexander Orzechowski
parent c15cd16d0e
commit 152c58c340
2 changed files with 39 additions and 28 deletions

View file

@ -104,6 +104,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;
};