what are the protocol rules about uniqueness of event and request names?

jleivent jleivent at comcast.net
Fri Dec 8 15:10:28 UTC 2023


On Fri, 8 Dec 2023 12:54:35 +0100
Sebastian Wick <sebastian.wick at redhat.com> wrote:

> ...
> I think a more useful thing to do would be to add this restriction (an
> interface cannot have an event and a request with the same name) to
> the documentation and to wayland-scanner.
>

Also: an event and request with the same name would probably confuse
anyone using WAYLAND_DEBUG.

But: Would changing wayland-scanner to prevent this be backward
compatible?  Can't someone somewhere already have an event/request pair
with the same name in their own private protocol extension?


More information about the wayland-devel mailing list