Searched refs:cursor_surface (Results 1 – 1 of 1) sorted by relevance
/lvgl-latest/src/drivers/wayland/ |
D | lv_wayland.c | 163 struct wl_surface * cursor_surface; member 437 if(app->cursor_surface) { in pointer_handle_enter() 439 …wl_pointer_set_cursor(pointer, serial, app->cursor_surface, cursor_image->hotspot_x, cursor_image-… in pointer_handle_enter() 440 wl_surface_attach(app->cursor_surface, wl_cursor_image_get_buffer(cursor_image), 0, 0); in pointer_handle_enter() 441 wl_surface_damage(app->cursor_surface, 0, 0, cursor_image->width, cursor_image->height); in pointer_handle_enter() 442 wl_surface_commit(app->cursor_surface); in pointer_handle_enter() 1064 app->cursor_surface = wl_compositor_create_surface(app->compositor); in seat_handle_capabilities() 1065 if(!app->cursor_surface) { in seat_handle_capabilities() 1071 if(app->cursor_surface) { in seat_handle_capabilities() 1072 wl_surface_destroy(app->cursor_surface); in seat_handle_capabilities()
|