mirror of
https://github.com/swaywm/sway.git
synced 2026-02-05 04:06:25 -05:00
sway/input/seat: chase wlroots breaking change
Ref: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5230
This commit is contained in:
parent
26eb393d6d
commit
723b1ea3b7
1 changed files with 2 additions and 2 deletions
|
|
@ -1015,9 +1015,9 @@ void seat_configure_xcursor(struct sway_seat *seat) {
|
||||||
server.xwayland.xcursor_manager, "default", 1);
|
server.xwayland.xcursor_manager, "default", 1);
|
||||||
if (xcursor != NULL) {
|
if (xcursor != NULL) {
|
||||||
struct wlr_xcursor_image *image = xcursor->images[0];
|
struct wlr_xcursor_image *image = xcursor->images[0];
|
||||||
|
struct wlr_buffer *buffer = wlr_xcursor_image_get_buffer(image);
|
||||||
wlr_xwayland_set_cursor(
|
wlr_xwayland_set_cursor(
|
||||||
server.xwayland.wlr_xwayland, image->buffer,
|
server.xwayland.wlr_xwayland, buffer,
|
||||||
image->width * 4, image->width, image->height,
|
|
||||||
image->hotspot_x, image->hotspot_y);
|
image->hotspot_x, image->hotspot_y);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue