Protocol documentation should indicate when wl_data_offer::accept requests should be sent
Submitted by Michael Catanzaro
Assigned to Wayland bug list
The Wayland protocol documentation does not define when wl_data_offer::accept requests should be sent. It would be good to discuss this as a guide to implementors.
It only really makes sense to send these in response to wl_data_device::motion events, and then only when the result has changed for a given MIME type, so as not to spam the drag source with unnecessary accept events. It makes sense to send a separate accept event for each offered MIME type.