Return values in Wayland XML specification
Pekka Paalanen
ppaalanen at gmail.com
Mon May 15 13:45:27 UTC 2017
On Mon, 15 May 2017 14:22:32 +0100
adlo <adloconwy at gmail.com> wrote:
> > 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?
Hi,
how about you read through Chapter 4 in
https://wayland.freedesktop.org/docs/html/ first, please?
Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20170515/ac495c01/attachment.sig>
More information about the wayland-devel
mailing list