wl_data_device_listener

data transfer device

There is one wl_data_device per seat which can be obtained from the global wl_data_device_manager singleton.

A wl_data_device provides access to inter-client data transfer mechanisms such as copy-and-paste and drag-and-drop.

Members

Variables

data_offer
void function(void* data, wl_data_device* wl_data_device, wl_data_offer* id) data_offer;

introduce a new wl_data_offer

drop
void function(void* data, wl_data_device* wl_data_device) drop;

end drag-and-drop session successfully

enter
void function(void* data, wl_data_device* wl_data_device, uint serial, wl_surface* surface, wl_fixed_t x, wl_fixed_t y, wl_data_offer* id) enter;

initiate drag-and-drop session

leave
void function(void* data, wl_data_device* wl_data_device) leave;

end drag-and-drop session

motion
void function(void* data, wl_data_device* wl_data_device, uint time, wl_fixed_t x, wl_fixed_t y) motion;

drag-and-drop session motion

selection
void function(void* data, wl_data_device* wl_data_device, wl_data_offer* id) selection;

advertise new selection

Meta