mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-03-31 07:11:23 -04:00
Upgrade wlroots to v0.20
Breaking changes: - https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5230
This commit is contained in:
parent
a1e5bf3789
commit
b5c3e71b02
4 changed files with 5 additions and 30 deletions
4
cage.c
4
cage.c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue