Re: Is it possible to emit event at client side?
On Fri, 02 Mar 2018 14:51:54 + Sichem Zhouwrote: > 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 a écrit : > > > On Fri, 02 Mar 2018 14:27:23 + > > Sichem Zhou 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 > > pgpVj00K2wwTD.pgp Description: OpenPGP digital signature ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel
Re: Is it possible to emit event at client side?
Hi PQ, Thanks for your answer. It would be nice have it though. Regards, X Le ven. 2 mars 2018 09 h 41, Pekka Paalanena écrit : > On Fri, 02 Mar 2018 14:27:23 + > Sichem Zhou 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 > ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel
Re: Is it possible to emit event at client side?
On Fri, 02 Mar 2018 14:27:23 + Sichem Zhouwrote: > 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
Is it possible to emit event at client side?
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. Thank you very much, Xichen ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel