ecore_wl: Add FD_WRITE flag to handler as we monitor read and write

The _ecore_wl_cb_handle_data callback only has the flag for ECORE_FD_READ
set while the callback funtion also monitors and acts on writes. I wonder
if and how that worked before.
This commit is contained in:
Stefan Schmidt 2014-04-17 16:37:44 +02:00
parent 38b993c29b
commit 2029ffc1ad
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ ecore_wl_init(const char *name)
_ecore_wl_disp->fd = wl_display_get_fd(_ecore_wl_disp->wl.display);
_ecore_wl_disp->fd_hdl =
ecore_main_fd_handler_add(_ecore_wl_disp->fd, ECORE_FD_READ,
ecore_main_fd_handler_add(_ecore_wl_disp->fd, ECORE_FD_READ | ECORE_FD_WRITE,
_ecore_wl_cb_handle_data, _ecore_wl_disp,
NULL, NULL);