Remove wlr_cursor_set_xcursor for now

This commit is contained in:
emersion 2017-10-29 18:14:58 +01:00
parent 95566c6bdf
commit 4230a577cc
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 7 additions and 9 deletions

View file

@ -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)) {