From b5916516c1afa391483b9d5593c7cd4e8fc09d3e Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Tue, 26 Feb 2013 14:51:11 +0000 Subject: [PATCH] We should use dispatch_pending here. Signed-off-by: Christopher Michael SVN revision: 84381 --- src/bin/engine_wayland_egl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/engine_wayland_egl.c b/src/bin/engine_wayland_egl.c index 3b5cc67..51f8fbe 100644 --- a/src/bin/engine_wayland_egl.c +++ b/src/bin/engine_wayland_egl.c @@ -75,7 +75,7 @@ engine_wayland_egl_args(const char *engine __UNUSED__, int width __UNUSED__, int void engine_wayland_egl_loop(void) { - assert(wl_display_dispatch(wl.display) != -1); + assert(wl_display_dispatch_pending(wl.display) != -1); } void