Re: need help writing tests for specific event orderings

2023-10-05 Thread Pekka Paalanen
On Wed, 4 Oct 2023 11:09:42 -0400 jleivent wrote: > On Wed, 4 Oct 2023 11:26:02 +0300 > Pekka Paalanen wrote: > > > ... > > For the forked clients, there is stop_display()/display_resume(). > > Maybe that helps? > > Maybe if I understand their usage correctly. Is this right?: A client > wou

Working demos of Wayland application?

2023-10-05 Thread Fred vS
Hello. I try to create Wayland applications with inspiration from demo-code. I did lot of search in internet and finally found one site that gives +- working demos: https://wayland-book.com There are some code that must be updated (because obsolete) but all "steps" souce code are working. Sadl

Re: need help writing tests for specific event orderings

2023-10-05 Thread jleivent
On Thu, 5 Oct 2023 13:28:57 +0300 Pekka Paalanen wrote: > ... > If you flush the Wayland connection explicitly, you should be able to > reliably avoid the deadlocks. Flushing is public stable API. Thanks! I will pattern these tests after the fd_passer display-test, since that is constructed to