history/semantics of uint32_t name

Yong Bakos junk at humanoriented.com
Sat Apr 2 00:55:42 UTC 2016


> On Apr 1, 2016, at 12:41 PM, Bill Spitzak <spitzak at gmail.com> wrote:
> 
> 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
> 
> 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.

I agree. And while I recognize pq's assertion that names are not ids,
the fact is that name's value is assigned display->id.

I'm digging into this more.

yong




More information about the wayland-devel mailing list