diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2026-01-05 20:56:45 +0530 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2026-01-05 20:56:45 +0530 |
| commit | 9e468fa0118632b5d6d5e22191260e948e815d3d (patch) | |
| tree | f62cdb6927a9f10bcc5b4a8b9921c44b7a90341f | |
| parent | f8dd5534c5626484ade9cc23ed5b48b16fa28b8e (diff) | |
sway/input/seat: chase wlroots breaking change
Ref: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5230
| -rw-r--r-- | sway/input/seat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c index 1b63f625..ab31b674 100644 --- 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); } } |
