diff options
author | emersion <contact@emersion.fr> | 2018-05-03 20:22:51 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-05-03 20:22:51 +0100 |
commit | 5d37b14116e61d5f21f72cdfbd979fe92e17e295 (patch) | |
tree | 86ff446094c8a5d090018591cd2bdd597d49343d /include/wlr | |
parent | 7843a484328a26a0029456adffd8c409187ca205 (diff) |
data-device: make sure resources are correctly destroyed
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_data_device.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_data_device.h b/include/wlr/types/wlr_data_device.h index 6fb41c29..80d4bc8b 100644 --- a/include/wlr/types/wlr_data_device.h +++ b/include/wlr/types/wlr_data_device.h @@ -15,8 +15,16 @@ wlr_touch_grab_interface wlr_data_device_touch_drag_interface; struct wlr_data_device_manager { struct wl_global *global; + struct wl_list wl_resources; + struct wl_list data_sources; struct wl_listener display_destroy; + + struct { + struct wl_signal destroy; + } events; + + void *data; }; struct wlr_data_offer { |