aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-11-10 08:07:15 -0500
committerGitHub <noreply@github.com>2017-11-10 08:07:15 -0500
commitca3c373c18fa2c4edb2e3f46c74d50f1f571e72c (patch)
treee0d19a3060b9dfc9cccbcd53d934943dc3820f7a /include/wlr
parentb5ad7a5232b919319eef1a198d731b308c0bb9cc (diff)
parent80bf3cfff05d3ddabf75b2e53ed040aff0bbae62 (diff)
Merge pull request #400 from Timidger/data_device_destructor
Adds wlr_data_device_manager destructor
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_data_device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_data_device.h b/include/wlr/types/wlr_data_device.h
index 691e2df8..f45c15a2 100644
--- a/include/wlr/types/wlr_data_device.h
+++ b/include/wlr/types/wlr_data_device.h
@@ -75,6 +75,11 @@ struct wlr_data_device_manager *wlr_data_device_manager_create(
struct wl_display *display);
/**
+ * Destroys a wlr_data_device_manager and removes its wl_data_device_manager global.
+ */
+void wlr_data_device_manager_destroy(struct wlr_data_device_manager *manager);
+
+/**
* Creates a new wl_data_offer if there is a wl_data_source currently set as
* the seat selection and sends it to the seat client, followed by the
* wl_data_device.selection() event. If there is no current selection, the