mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-26 06:59:52 -05:00
wlr_seat_touch: Destroy the touchpoint on client destroy
Since e26217c51e3a5e1d7dfc95a8a76299e056497981, touchpoints can outlive surfaces. This works fine as long as the client stays around, but fails horribly otherwise; therefore we have to make sure that touchpoints don't outlive their clients. Fixes #1788
This commit is contained in:
parent
8b0f1bc850
commit
a14d650864
2 changed files with 11 additions and 1 deletions
|
|
@ -64,6 +64,7 @@ struct wlr_touch_point {
|
|||
|
||||
struct wl_listener surface_destroy;
|
||||
struct wl_listener focus_surface_destroy;
|
||||
struct wl_listener client_destroy;
|
||||
|
||||
struct {
|
||||
struct wl_signal destroy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue