diff options
author | emersion <contact@emersion.fr> | 2017-10-29 18:14:58 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-10-31 12:30:56 +0100 |
commit | 4230a577cc878607c2db1e6e5e7051b9e7653584 (patch) | |
tree | 2fe17d022cf5b03f17c82a2c5859b960ea5c993d /examples | |
parent | 95566c6bdfb7048b2460b701747f4c9d3fcd4ebd (diff) | |
download | wlroots-4230a577cc878607c2db1e6e5e7051b9e7653584.tar.xz |
Remove wlr_cursor_set_xcursor for now
Diffstat (limited to 'examples')
-rw-r--r-- | examples/pointer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/pointer.c b/examples/pointer.c index 26d50b95..77f5192f 100644 --- a/examples/pointer.c +++ b/examples/pointer.c @@ -321,7 +321,9 @@ int main(int argc, char *argv[]) { return 1; } - wlr_cursor_set_xcursor(state.cursor, state.xcursor); + struct wlr_xcursor_image *image = state.xcursor->images[0]; + wlr_cursor_set_image(state.cursor, image->buffer, image->width, + image->width, image->height, image->hotspot_x, image->hotspot_y); compositor_init(&compositor); if (!wlr_backend_start(compositor.backend)) { |