mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
data-device: remove data_source_send_offer
This commit is contained in:
parent
1150ff13ce
commit
84f278eca1
5 changed files with 23 additions and 28 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue