Re: [PATCH] event-loop: export wl_event_loop_dispatch_idle()

2012-09-12 Thread Kristian Høgsberg
On Tue, Sep 11, 2012 at 04:09:34PM +0200, David Herrmann wrote: When integrating the wayland event-loop into another event-loop, we currently have no chance of checking whether there are pending idle sources that have to be called. This patch exports the dispatch_idle_sources() call so other

[PATCH] event-loop: export wl_event_loop_dispatch_idle()

2012-09-11 Thread David Herrmann
When integrating the wayland event-loop into another event-loop, we currently have no chance of checking whether there are pending idle sources that have to be called. This patch exports the dispatch_idle_sources() call so other event loops can call this before going to sleep. This is what