Is it possible to emit event at client side?

Pekka Paalanen ppaalanen at gmail.com
Fri Mar 2 14:41:20 UTC 2018


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 --------------
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/20180302/a432ff74/attachment.sig>


More information about the wayland-devel mailing list