commit 723b1ea3b7617b6d61143d5cb723c59c916db515
parent 26eb393d6dd7631dc5b7edd0df95342d606e907c
Author: llyyr <llyyr.public@gmail.com>
Date: Mon, 5 Jan 2026 20:56:45 +0530
sway/input/seat: chase wlroots breaking change
Ref: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5230
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sway/input/seat.c b/sway/input/seat.c
@@ -1015,9 +1015,9 @@ void seat_configure_xcursor(struct sway_seat *seat) {
server.xwayland.xcursor_manager, "default", 1);
if (xcursor != NULL) {
struct wlr_xcursor_image *image = xcursor->images[0];
+ struct wlr_buffer *buffer = wlr_xcursor_image_get_buffer(image);
wlr_xwayland_set_cursor(
- server.xwayland.wlr_xwayland, image->buffer,
- image->width * 4, image->width, image->height,
+ server.xwayland.wlr_xwayland, buffer,
image->hotspot_x, image->hotspot_y);
}
}