Upgrade wlroots to v0.20

Breaking changes:
 - https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5230
This commit is contained in:
Sungjoon Moon 2026-02-27 23:51:32 +09:00
parent dcd64ae48b
commit 5da65155c9
4 changed files with 5 additions and 5 deletions

4
cage.c
View file

@ -588,8 +588,8 @@ main(int argc, char *argv[])
struct wlr_xcursor *xcursor = wlr_xcursor_manager_get_xcursor(xcursor_manager, DEFAULT_XCURSOR, 1);
if (xcursor) {
struct wlr_xcursor_image *image = xcursor->images[0];
wlr_xwayland_set_cursor(xwayland, image->buffer, image->width * 4, image->width, image->height,
image->hotspot_x, image->hotspot_y);
wlr_xwayland_set_cursor(xwayland, wlr_xcursor_image_get_buffer(image), image->hotspot_x,
image->hotspot_y);
}
}
#endif