chase wlroots: wlr_xwayland_set_cursor now takes a wlr_buffer

Ref: 84d603acc06a45dd3c3a4b2cf1fd08b2933ca2b5
(xwayland: take wlr_buffer in wlr_xwayland_set_cursor())

Ref: 6ae54dca23064e897b393283887986e5719a747f
(xwayland: lock new buffer instead of the old one)

Co-Authored-By: Consolatis

This wlroots change fixes a potential UAF which we dealt with in labwc.
We can thus remove the workaround completely.
This commit is contained in:
Manuel Barrio Linares 2026-01-08 15:15:22 -03:00 committed by Consolatis
parent e7fae789ab
commit 777b6a718e
4 changed files with 6 additions and 60 deletions

View file

@ -1610,9 +1610,6 @@ void
cursor_reload(struct seat *seat)
{
cursor_load(seat);
#if HAVE_XWAYLAND
xwayland_reset_cursor(seat->server);
#endif
cursor_update_image(seat);
}