Documentation for <wlr/types/wlr_data_control_v1.h>

Back to index

Table of contents

struct wlr_data_control_device_v1

struct wlr_data_control_device_v1 {
	struct wl_resource *resource;
	struct wlr_data_control_manager_v1 *manager;
	struct wl_list link;
	struct wlr_seat *seat;
	struct wl_resource *selection_offer_resource;
	struct wl_resource *primary_selection_offer_resource;
	struct wl_listener seat_destroy;
	struct wl_listener seat_set_selection;
	struct wl_listener seat_set_primary_selection;
};

wlr_data_control_device_v1_destroy()

void wlr_data_control_device_v1_destroy(​struct wlr_data_control_device_v1 *device);

struct wlr_data_control_manager_v1

struct wlr_data_control_manager_v1 {
	struct wl_global *global;
	struct wl_list devices;
	struct {
		struct wl_signal destroy;
		struct wl_signal new_device;
	} events;
	struct wl_listener display_destroy;
};

wlr_data_control_manager_v1_create()

struct wlr_data_control_manager_v1 *wlr_data_control_manager_v1_create(​struct wl_display *display);