mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Remove wlr_cursor_set_xcursor for now
This commit is contained in:
parent
95566c6bdf
commit
4230a577cc
4 changed files with 7 additions and 9 deletions
|
|
@ -118,7 +118,10 @@ struct roots_input *input_create(struct roots_server *server,
|
|||
|
||||
input->cursor = wlr_cursor_create();
|
||||
cursor_initialize(input);
|
||||
wlr_cursor_set_xcursor(input->cursor, xcursor);
|
||||
|
||||
struct wlr_xcursor_image *image = xcursor->images[0];
|
||||
wlr_cursor_set_image(input->cursor, image->buffer, image->width,
|
||||
image->width, image->height, image->hotspot_x, image->hotspot_y);
|
||||
|
||||
wlr_cursor_attach_output_layout(input->cursor, server->desktop->layout);
|
||||
wlr_cursor_map_to_region(input->cursor, config->cursor.mapped_box);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue