Re: [PATCH weston v1 10/17] window: add display_dispatch

2014-12-09 Thread Derek Foreman
On 05/12/14 07:36 AM, Marek Chalupa wrote: > Split display_run into two functions - display_run and display_dispatch. > display_dispatch is the part that actually does something and > display_run just calls it in a loop. Now we can dispatch toytoolkit > events in tests (display_run is blocking, so

[PATCH weston v1 10/17] window: add display_dispatch

2014-12-05 Thread Marek Chalupa
Split display_run into two functions - display_run and display_dispatch. display_dispatch is the part that actually does something and display_run just calls it in a loop. Now we can dispatch toytoolkit events in tests (display_run is blocking, so we couldn't use that) Signed-off-by: Marek Chalupa