Bug 91946

Summary: Protocol documentation should indicate when wl_data_offer::accept requests should be sent
Product: Wayland Reporter: Michael Catanzaro <mcatanzaro>
Component: waylandAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: enhancement    
Priority: medium    
Version: 1.5.0   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 83429, 91948    

Description Michael Catanzaro 2015-09-09 20:34:30 UTC
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.
Comment 1 GitLab Migration User 2018-06-08 23:48:40 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/wayland/wayland/issues/17.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.