Interfaces to objects

Bill Spitzak spitzak at gmail.com
Tue Aug 12 11:57:51 PDT 2014


On 08/11/2014 11:34 PM, Pekka Paalanen wrote:

>> void do_cool_thing_with_surface (???)
>> {
>>     wl_surface_foo(???, args);
>>     wl_shell_surface_bar(???, args);
>> }
>
> That is simply a broken design of that helper function. It likely also
> is an API layering violation. We need a real use case as an example
> here, before discussing anything like that makes any sense. Not
> something you can make up, but something that actually has a use.

That's fine. Sorry this got off track, I think the idea being done with 
the Wayland wire protocol is good, and this is the only objection I 
could think of. And currently nobody has an actual case for this.


More information about the wayland-devel mailing list