Product SiteDocumentation Site

A.11. wl_data_device_manager - data transfer interface

The wl_data_device_manager is a singleton global object that provides access to inter-client data transfer mechanisms such as copy-and-paste and drag-and-drop. These mechanisms are tied to a wl_seat and this interface lets a client get a wl_data_device corresponding to a wl_seat.

A.11.1. Requests provided by wl_data_device_manager

A.11.1.1. wl_data_device_manager::create_data_source - create a new data source

Create a new data source.

wl_data_device_manager::create_data_source arguments

id
Type: new_id

A.11.1.2. wl_data_device_manager::get_data_device - create a new data device

Create a new data device for a given seat.

wl_data_device_manager::get_data_device arguments

id
Type: new_id
seat
Type: object