backend/wayland: Update to new cursor API

This commit is contained in:
Scott Anderson 2019-09-15 20:06:09 +12:00
parent f5e5b3eec3
commit 13b0a5bcc1
2 changed files with 92 additions and 90 deletions

View file

@ -58,10 +58,11 @@ struct wlr_wl_output {
uint32_t enter_serial;
struct {
bool enabled;
int hotspot_x, hotspot_y;
struct wl_surface *surface;
struct wl_egl_window *egl_window;
int32_t hotspot_x, hotspot_y;
int32_t width, height;
struct wl_egl_window *native;
EGLSurface egl;
} cursor;
};