Is it possible to emit event at client side?

Sichem Zhou sichem.zh at gmail.com
Fri Mar 2 14:51:54 UTC 2018


Hi PQ,

Thanks for your answer. It would be nice have it though.

Regards,
X


Le ven. 2 mars 2018 09 h 41, Pekka Paalanen <ppaalanen at gmail.com> a écrit :

> On Fri, 02 Mar 2018 14:27:23 +0000
> Sichem Zhou <sichem.zh at gmail.com> wrote:
>
> > Hi all,
> >
> > I have a question regarding the Wayland client side API. I see there is
> API
> > to create a `wl_ event_queue` but it seems you can only assign `wl_proxy`
> > and send command to server.
> >
> > Is anyway that I can create a event queue and keep it to myself, it's use
> > case lies in multi threading application where one thread trigger a event
> > and other thread process it. If I can use this queue myself. later on I
> can
> > just add an event in the queue and in main thread I just use
> > `wl_display_dispatch` to process the event.
>
> Hi,
>
> wl_event_queue is meant exclusively for processing events received from a
> Wayland server. It's not for generic use.
>
>
> Thanks,
> pq
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180302/b88adaf2/attachment.html>


More information about the wayland-devel mailing list