raster pushed a commit to branch efl-1.20.

http://git.enlightenment.org/core/efl.git/commit/?id=e67aa661a0077f4069b67eefcb016424a630ab55

commit e67aa661a0077f4069b67eefcb016424a630ab55
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 79a9e59fc5..69188674fb 100644
--- a/src/lib/ecore_wl2/ecore_wl2_display.c
+++ b/src/lib/ecore_wl2/ecore_wl2_display.c
@@ -553,12 +553,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:

-- 


Reply via email to