pointer_cursor_surface_configure(struct weston_surface *es,
int32_t dx, int32_t dy, int32_t width, int32_t height)
{
- struct weston_seat *seat = es->private;
+ struct weston_seat *seat = es->configure_private;
int x, y;
if (width == 0)
wl_list_remove(&seat->sprite_destroy_listener.link);
seat->sprite->configure = NULL;
- seat->sprite->private = NULL;
+ seat->sprite->configure_private = NULL;
seat->sprite = NULL;
}
&seat->sprite_destroy_listener);
surface->configure = pointer_cursor_surface_configure;
- surface->private = seat;
+ surface->configure_private = seat;
seat->sprite = surface;
seat->hotspot_x = x;
seat->hotspot_y = y;