aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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);