forked from enlightenment/efl
ecore_wl2: Remove just the flush from the idle handler
Flushing should be done where it's needed now, but we still need the rest of the idle handler as something like mesa may have dispatched its queue, which reads all the pending wayland events. In that case we have events to process but the fd will not poll readable. @fix T6250
This commit is contained in:
parent
e23854eb6a
commit
3314d36f9b
|
@ -556,12 +556,6 @@ _cb_connect_idle(void *data)
|
|||
code = errno;
|
||||
if (ret < 0) goto err;
|
||||
|
||||
ret = wl_display_flush(ewd->wl.display);
|
||||
code = errno;
|
||||
if ((ret < 0) && (code == EAGAIN))
|
||||
ecore_main_fd_handler_active_set(ewd->fd_hdl,
|
||||
(ECORE_FD_READ | ECORE_FD_WRITE));
|
||||
|
||||
return ECORE_CALLBACK_RENEW;
|
||||
|
||||
err:
|
||||
|
|
Loading…
Reference in New Issue