Commit d1e5e3ff authored by Derek Foreman's avatar Derek Foreman

Revert "ecore_wl2: Remove just the flush from the idle handler"

This reverts commit e67aa661.

I accidentally flagged this as a fix when it should've been a ref,
the bug (T6250) this was related to was actually fixed by the
previous 1.21 commit (a revert, returning the code to its 1.20 state).
The bug didn't exist on stable branch.

The patch was actually an optimization that requires all of my
1.21 wayland work. Ironically, backporting it to stable will
introduce the bug in T6250 there.

@ref T6250
parent fe62ed34
......@@ -553,6 +553,12 @@ _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