aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSebastian Krzyszkowiak <dos@dosowisko.net>2019-09-14 06:41:54 +0200
committerSimon Ser <contact@emersion.fr>2019-09-14 16:19:07 +0300
commita14d65086480652520d20622cbc92df2319158f0 (patch)
treec90811d5bffed78e80bcad4f1ea10c9416a72c07 /include/wlr
parent8b0f1bc850de3bcf5354c8afa00b9f5b1768f370 (diff)
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
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_seat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_seat.h b/include/wlr/types/wlr_seat.h
index 69fe1359..352483ed 100644
--- a/include/wlr/types/wlr_seat.h
+++ b/include/wlr/types/wlr_seat.h
@@ -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;