mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
xwayland: specify xwm cursor stride in bytes
This commit is contained in:
parent
f133170ff0
commit
692f1746cf
2 changed files with 1 additions and 2 deletions
|
|
@ -834,7 +834,7 @@ struct roots_desktop *desktop_create(struct roots_server *server,
|
|||
if (xcursor != NULL) {
|
||||
struct wlr_xcursor_image *image = xcursor->images[0];
|
||||
wlr_xwayland_set_cursor(desktop->xwayland, image->buffer,
|
||||
image->width, image->width, image->height, image->hotspot_x,
|
||||
image->width * 4, image->width, image->height, image->hotspot_x,
|
||||
image->hotspot_y);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue