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

@ -75,8 +75,6 @@ void xwayland_adjust_usable_area(struct view *view,
void xwayland_update_workarea(struct server *server);
void xwayland_reset_cursor(struct server *server);
void xwayland_flush(struct server *server);
#endif /* HAVE_XWAYLAND */