efl/src/lib/ecore_wayland
Christopher Michael 58304e01ab ecore-wayland: (version 2)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.

Change from v1:
Add idle enterer destroy code into _ecore_wl_shutdown() to avoid
using freed wl_display.

SVN revision: 81360
2012-12-19 13:58:48 +00:00
..
Ecore_Wayland.h ecore-wayland: (version 2)Fix monitoring ECORE_FD_WRITE defaultly on wayland display fd lead to 100% cpu usage 2012-12-19 13:58:48 +00:00
ecore_wl.c ecore-wayland: (version 2)Fix monitoring ECORE_FD_WRITE defaultly on wayland display fd lead to 100% cpu usage 2012-12-19 13:58:48 +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 efl: Created Ecore group and added existing Ecore groups to it. 2012-12-18 18:38:44 +00:00