[PATCH v4] protocol: Add DnD actions
Bill Spitzak
spitzak at gmail.com
Fri Oct 30 15:42:37 PDT 2015
On Fri, Oct 30, 2015 at 1:57 PM, Carlos Garnacho <carlosg at gnome.org> wrote:
>
> + <enum name="dnd_action" since="3">
> + <description summary="drag and drop actions">
> + This is a bitmask of the available/preferred actions in a
> + drag-and-drop operation.
> +
> + The current reserved ranges are:
> +
> + 0x0000 - 0x00FF: Reserved for the wayland core protocol.
> + 0x01FF - 0xFFFF: Reserved for future toolkit-specific use. Slots
> + may be reserved.
>
Since this is a bitmap, the above is a little confusing. 0x101 is not
toolkit-specific, it is a combination of a toolkit-specific action and a
core action. Perhaps this:
0x0001 - 0x0080: wayland core protocol actions
0x0100 - 0x8000: toolkit-specific use
In general I don't think this really has to be documented, it sounds just
like any other experimental addition to the protocol. Maybe make a comment
that clients should ignore bits they don't recognize.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20151030/5fb4538e/attachment.html>
More information about the wayland-devel
mailing list