aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-12-09 13:07:42 +0100
committeremersion <contact@emersion.fr>2019-01-24 12:12:55 +0100
commit84f278eca1a8f1b7b8371d48d4a494d32c15f3bb (patch)
tree1e0fc780939cf66a3cbc43056163c405528b4ce5 /include
parent1150ff13ceeeb76ce17c8b7a8ca199230d7b87f9 (diff)
data-device: remove data_source_send_offer
Diffstat (limited to 'include')
-rw-r--r--include/types/wlr_data_device.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/types/wlr_data_device.h b/include/types/wlr_data_device.h
index 376c5f09..d2bdcc38 100644
--- a/include/types/wlr_data_device.h
+++ b/include/types/wlr_data_device.h
@@ -16,8 +16,8 @@ struct wlr_client_data_source {
extern const struct wlr_surface_role drag_icon_surface_role;
-struct wlr_data_offer *data_offer_create(struct wl_client *client,
- struct wlr_data_source *source, uint32_t version);
+struct wlr_data_offer *data_offer_create(struct wl_resource *device_resource,
+ struct wlr_data_source *source);
void data_offer_update_action(struct wlr_data_offer *offer);
void data_offer_destroy(struct wlr_data_offer *offer);
@@ -26,10 +26,10 @@ struct wlr_client_data_source *client_data_source_create(
struct wl_list *resource_list);
struct wlr_client_data_source *client_data_source_from_resource(
struct wl_resource *resource);
-struct wlr_data_offer *data_source_send_offer(struct wlr_data_source *source,
- struct wl_resource *device_resource);
void data_source_notify_finish(struct wlr_data_source *source);
+struct wlr_seat_client *seat_client_from_data_device_resource(
+ struct wl_resource *resource);
bool seat_client_start_drag(struct wlr_seat_client *client,
struct wlr_data_source *source, struct wlr_surface *icon_surface,
struct wlr_surface *origin, uint32_t serial);