Commit e67aa661 authored by Derek Foreman's avatar Derek Foreman Committed by Carsten Haitzler (Rasterman)

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
parent 5526474e
......@@ -553,12 +553,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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment