aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-10-29 18:14:58 +0100
committeremersion <contact@emersion.fr>2017-10-31 12:30:56 +0100
commit4230a577cc878607c2db1e6e5e7051b9e7653584 (patch)
tree2fe17d022cf5b03f17c82a2c5859b960ea5c993d /rootston
parent95566c6bdfb7048b2460b701747f4c9d3fcd4ebd (diff)
Remove wlr_cursor_set_xcursor for now
Diffstat (limited to 'rootston')
-rw-r--r--rootston/input.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/rootston/input.c b/rootston/input.c
index a6792bdb..8109d2b6 100644
--- a/rootston/input.c
+++ b/rootston/input.c
@@ -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);