efl/src/lib/ecore_wayland
Alex Wu 4c534eb0e0 ecore-wayland: Fix monitoring ECORE_FD_WRITE defaultly on
wayland                display fd lead to 100% cpu usage

In ecore_wl_init(), adding wayland display fd with ECORE_FD_WRITE
flag make CPU usage 100%. The proper way to monitor the ECORE_FD_WRITE
is when the wl_display_flush() return value < 0 and errno == EAGAIN.
And if wl_display_flush() return, we remove ECORE_FD_WRITE flag from
the display fd.

Patch by: Alex Wu <zhiwen.wu@linux.intel.com>



SVN revision: 80476
2012-12-07 17:38:21 +00:00
..
Ecore_Wayland.h merge: add escape ecore, fix several bugs 2012-12-02 22:35:45 +00:00
ecore_wl.c ecore-wayland: Fix monitoring ECORE_FD_WRITE defaultly on 2012-12-07 17:38:21 +00:00
ecore_wl_dnd.c merge: add escape ecore, fix several bugs 2012-12-02 22:35:45 +00:00
ecore_wl_input.c merge: add escape ecore, fix several bugs 2012-12-02 22:35:45 +00:00
ecore_wl_output.c merge: add escape ecore, fix several bugs 2012-12-02 22:35:45 +00:00
ecore_wl_private.h merge: add escape ecore, fix several bugs 2012-12-02 22:35:45 +00:00
ecore_wl_window.c merge: add escape ecore, fix several bugs 2012-12-02 22:35:45 +00:00