derekf pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=3314d36f9bb58f48bc808adb2b7c75bba18309ba
commit 3314d36f9bb58f48bc808adb2b7c75bba18309ba Author: Derek Foreman <[email protected]> Date: Sun Oct 22 10:19:50 2017 -0500 ecore_wl2: Remove just the flush from the idle handler Flushing should be done where it's needed now, but we still need the rest of the idle handler as something like mesa may have dispatched its queue, which reads all the pending wayland events. In that case we have events to process but the fd will not poll readable. @fix T6250 --- src/lib/ecore_wl2/ecore_wl2_display.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lib/ecore_wl2/ecore_wl2_display.c b/src/lib/ecore_wl2/ecore_wl2_display.c index eeb7e09768..1780371524 100644 --- a/src/lib/ecore_wl2/ecore_wl2_display.c +++ b/src/lib/ecore_wl2/ecore_wl2_display.c @@ -556,12 +556,6 @@ _cb_connect_idle(void *data) code = errno; if (ret < 0) goto err; - ret = wl_display_flush(ewd->wl.display); - code = errno; - if ((ret < 0) && (code == EAGAIN)) - ecore_main_fd_handler_active_set(ewd->fd_hdl, - (ECORE_FD_READ | ECORE_FD_WRITE)); - return ECORE_CALLBACK_RENEW; err: --
