aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-11-03 14:22:35 +0100
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-11-19 16:06:07 +0000
commit6bb897330980f65194b75547c3f909e614bdcd49 (patch)
tree93f8f6d72f34f76c78b0546523936df3420aae80 /include/wlr
parent86f5ecf46867236d4b96a3ce1ad664a8963d6ae4 (diff)
drm-lease-v1: listen to lease destroy event
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_drm_lease_v1.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_drm_lease_v1.h b/include/wlr/types/wlr_drm_lease_v1.h
index 5b4137c5..5a7827ea 100644
--- a/include/wlr/types/wlr_drm_lease_v1.h
+++ b/include/wlr/types/wlr_drm_lease_v1.h
@@ -90,6 +90,8 @@ struct wlr_drm_lease_v1 {
struct wl_list link; // wlr_drm_lease_device_v1::leases
+ struct wl_listener destroy;
+
void *data;
};