summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-03-10 13:31:23 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-03-10 14:23:43 -0500
commit358a20449142259607718c49e1cf0c99dfe9c8cd (patch)
treefbbc52e592de8699f2090c8c32cc783b60878cf8
parentbb24aab001646f3a64ae197de6fb5af24a118eb5 (diff)
ecore-wl2: set fd handler active flags correctly for connect/create
@fix
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_display.c4
1 files 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 ef36e0ede7..6df06ec257 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)
456 456
457 ewd->fd_hdl = 457 ewd->fd_hdl =
458 ecore_main_fd_handler_add(wl_event_loop_get_fd(loop), 458 ecore_main_fd_handler_add(wl_event_loop_get_fd(loop),
459 ECORE_FD_READ | ECORE_FD_WRITE | ECORE_FD_ERROR, 459 ECORE_FD_READ | ECORE_FD_ERROR,
460 _cb_create_data, ewd, NULL, NULL); 460 _cb_create_data, ewd, NULL, NULL);
461 461
462 ecore_main_fd_handler_prepare_callback_set(ewd->fd_hdl, 462 ecore_main_fd_handler_prepare_callback_set(ewd->fd_hdl,
@@ -567,7 +567,7 @@ ecore_wl2_display_connect(const char *name)
567 567
568 ewd->fd_hdl = 568 ewd->fd_hdl =
569 ecore_main_fd_handler_add(wl_display_get_fd(ewd->wl.display), 569 ecore_main_fd_handler_add(wl_display_get_fd(ewd->wl.display),
570 ECORE_FD_READ | ECORE_FD_ERROR, 570 ECORE_FD_READ | ECORE_FD_WRITE | ECORE_FD_ERROR,
571 _cb_connect_data, ewd, NULL, NULL); 571 _cb_connect_data, ewd, NULL, NULL);
572 572
573 ewd->idle_enterer = ecore_idle_enterer_add(_cb_connect_idle, ewd); 573 ewd->idle_enterer = ecore_idle_enterer_add(_cb_connect_idle, ewd);