summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-10-22 10:19:50 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-10-22 10:19:50 -0500
commit3314d36f9bb58f48bc808adb2b7c75bba18309ba (patch)
treefef04b6c93decb209ad89c889979f57056f1bd93
parente23854eb6ae6012afdb82dacc01e297f9f455c9f (diff)
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
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_display.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_display.c b/src/lib/ecore_wl2/ecore_wl2_display.c
index eeb7e09768..1780371524 100644
--- a/src/lib/ecore_wl2/ecore_wl2_display.c
+++ b/src/lib/ecore_wl2/ecore_wl2_display.c
@@ -556,12 +556,6 @@ _cb_connect_idle(void *data)
556 code = errno; 556 code = errno;
557 if (ret < 0) goto err; 557 if (ret < 0) goto err;
558 558
559 ret = wl_display_flush(ewd->wl.display);
560 code = errno;
561 if ((ret < 0) && (code == EAGAIN))
562 ecore_main_fd_handler_active_set(ewd->fd_hdl,
563 (ECORE_FD_READ | ECORE_FD_WRITE));
564
565 return ECORE_CALLBACK_RENEW; 559 return ECORE_CALLBACK_RENEW;
566 560
567err: 561err: