history/semantics of uint32_t name

Bill Spitzak spitzak at gmail.com
Fri Apr 1 17:41:42 UTC 2016


The word "name" strongly implies that the data is a string. It does not
help that right next to it is "interface" which *is* a string.

Some variation of "server's id" would be clearer.

On Fri, Apr 1, 2016 at 12:59 AM, Pekka Paalanen <ppaalanen at gmail.com> wrote:

> On Fri, 1 Apr 2016 09:44:07 +0800
> Jonas Ã…dahl <jadahl at gmail.com> wrote:
>
> > On Thu, Mar 31, 2016 at 06:48:06PM -0500, Yong Bakos wrote:
> > > Hi,
> > > I've been investigating the semantics of the name parameter within
> > > the wl_registry interface, prompted by a recent dialog regarding my
> > > patch of arg summary attributes in wayland.xml.
>
> > I can't say for sure the reason behind using "name", but using "id"
> > would potentially be confused with the object "id"'s.
>
> This potential confusion is exactly the reason. Names are not ids.
>
>
> Thanks,
> pq
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20160401/53db313b/attachment.html>


More information about the wayland-devel mailing list