This says that advertisements of globals contain new_id
>
https://wayland.freedesktop.org/docs/html/ch04.html#sect-Protocol-Wire-Format
> The only events with new_id are advertisements of globals, and the server
will use IDs below 0x10000

but according to this advertisements of globals do not contain new_id
>
https://wayland.freedesktop.org/docs/html/apa.html#protocol-spec-wl_registry
> wl_registry::global - announce global object
>
> name
>    uint - numeric name of the global object
> interface
>    string - interface implemented by the object
> version
>    uint - interface version

Furthermore all ids below 0x10000 are in the range reserved for the client
>
https://wayland.freedesktop.org/docs/html/ch04.html#sect-Protocol-Creating-Objects
> Each object has a unique ID. The IDs are allocated by the entity creating
the object (either client or server). IDs allocated by the client are in
the range [1, 0xfeffffff] while IDs allocated by the server are in the
range [0xff000000, 0xffffffff].

Currently the core spec does contain one event with new_id:
wl_data_device.data_offer, but I expect (based on reading the spec) that it
would return ids from the range reserved for the server.

-- Andrey Bienkowski
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to