forked from enlightenment/efl
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:
parent
38b993c29b
commit
2029ffc1ad
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue