Skip to content

backend-wayland: Destroy touch device before seat

Daniel Stone requested to merge daniels/weston:wayland-backend-touch-assert into main

weston_touch_destroy(), which is called from weston_seat_release(), asserts that all its touch devices have been destroyed. The Wayland backend currently destroys the touch devices ... immediately after calling weston_seat_release().

Invert the ordering so that touch devices are destroyed first and we don't trip over the assert.

Signed-off-by: Daniel Stone daniels@collabora.com

Merge request reports