Return values in Wayland XML specification

adlo adloconwy at gmail.com
Mon May 15 13:22:32 UTC 2017


> On 15 May 2017, at 08:46, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> 
> Yes, that is a good design suggestion.
> 
> If the events are always sent only as a response to a request, then
> there is no need for a 'done' event. The client can send the request
> followed by wl_display.sync, and once the sync callback arrives, all
> responses have been received.
> 
> But, if the server can spontaneously send a series of events, then you
> probably need a 'done' for the client to know when the series is
> complete again.

What are events? Are they things that are sent by an interface or received by it?

How do you link the request with its corresponding response event? If the client sends a get_window request, how does the server know how to respond to it? Do they both need to be specified in the XML?

Regards

adlo


More information about the wayland-devel mailing list