ecore-wl2: set fd handler active flags correctly for connect/create

@fix
This commit is contained in:
Mike Blumenkrantz 2016-03-10 13:31:23 -05:00
parent bb24aab001
commit 358a204491
1 changed files with 2 additions and 2 deletions

View File

@ -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);