Bug 91946 - Protocol documentation should indicate when wl_data_offer::accept requests should be sent
Summary: Protocol documentation should indicate when wl_data_offer::accept requests sh...
Alias: None
Product: Wayland
Classification: Unclassified
Component: wayland (show other bugs)
Version: 1.5.0
Hardware: Other All
: medium enhancement
Assignee: Wayland bug list
QA Contact:
Depends on:
Blocks: 83429 91948
  Show dependency treegraph
Reported: 2015-09-09 20:34 UTC by Michael Catanzaro
Modified: 2018-06-08 23:48 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


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.