Home
last modified time | relevance | path

Searched refs:data_offer (Results 1 – 1 of 1) sorted by relevance

/AliOS-Things-master/components/SDL2/src/video/wayland/
A DSDL_waylandevents.c886 SDL_WaylandDataOffer *data_offer = NULL; in data_device_handle_data_offer() local
888 data_offer = SDL_calloc(1, sizeof *data_offer); in data_device_handle_data_offer()
889 if (data_offer == NULL) { in data_device_handle_data_offer()
892 data_offer->offer = id; in data_device_handle_data_offer()
893 data_offer->data_device = data; in data_device_handle_data_offer()
894 WAYLAND_wl_list_init(&(data_offer->mimes)); in data_device_handle_data_offer()
895 wl_data_offer_set_user_data(id, data_offer); in data_device_handle_data_offer()
896 wl_data_offer_add_listener(id, &data_offer_listener, data_offer); in data_device_handle_data_offer()

Completed in 6 milliseconds