Is it possible to emit event at client side?

Pekka Paalanen ppaalanen at gmail.com
Fri Mar 2 15:22:52 UTC 2018


On Fri, 02 Mar 2018 14:51:54 +0000
Sichem Zhou <sichem.zh at gmail.com> wrote:

> Hi PQ,
> 
> Thanks for your answer. It would be nice have it though.

Sorry, not going to happen.


Thanks,
pq
 
> 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 --------------
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/980a25d9/attachment.sig>


More information about the wayland-devel mailing list