On Fri, 02 Mar 2018 14:27:23 +0000 Sichem Zhou <sichem...@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
pgpAG5VUGfgq2.pgp
Description: OpenPGP digital signature
_______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel