A.8.1.1. wl_data_offer::accept - accept one of the offered mime types
Indicate that the client can accept the given mime type, or NULL for not accepted.
Used for feedback during drag-and-drop.
wl_data_offer::accept arguments
- serial
Type: uint
- mime_type
Type: string
A.8.1.2. wl_data_offer::receive - request that the data is transferred
To transfer the offered data, the client issues this request and indicates the mime type it wants to receive. The transfer happens through the passed file descriptor (typically created with the pipe system call). The source client writes the data in the mime type representation requested and then closes the file descriptor.
The receiving client reads from the read end of the pipe until EOF and the closes its end, at which point the transfer is complete.
wl_data_offer::receive arguments
- mime_type
Type: string
- fd
Type: fd