discomfitor pushed a commit to branch master.

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

commit 358a20449142259607718c49e1cf0c99dfe9c8cd
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Mar 10 13:31:23 2016 -0500

    ecore-wl2: set fd handler active flags correctly for connect/create
    
    @fix
---
 src/lib/ecore_wl2/ecore_wl2_display.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/ecore_wl2/ecore_wl2_display.c 
b/src/lib/ecore_wl2/ecore_wl2_display.c
index ef36e0e..6df06ec 100644
--- a/src/lib/ecore_wl2/ecore_wl2_display.c
+++ b/src/lib/ecore_wl2/ecore_wl2_display.c
@@ -456,7 +456,7 @@ ecore_wl2_display_create(const char *name)
 
    ewd->fd_hdl =
      ecore_main_fd_handler_add(wl_event_loop_get_fd(loop),
-                               ECORE_FD_READ | ECORE_FD_WRITE | ECORE_FD_ERROR,
+                               ECORE_FD_READ | ECORE_FD_ERROR,
                                _cb_create_data, ewd, NULL, NULL);
 
    ecore_main_fd_handler_prepare_callback_set(ewd->fd_hdl,
@@ -567,7 +567,7 @@ ecore_wl2_display_connect(const char *name)
 
    ewd->fd_hdl =
      ecore_main_fd_handler_add(wl_display_get_fd(ewd->wl.display),
-                               ECORE_FD_READ | ECORE_FD_ERROR,
+                               ECORE_FD_READ | ECORE_FD_WRITE | ECORE_FD_ERROR,
                                _cb_connect_data, ewd, NULL, NULL);
 
    ewd->idle_enterer = ecore_idle_enterer_add(_cb_connect_idle, ewd);

-- 


Reply via email to