path: root/m4
diff options
authorAlex Wu <>2012-12-07 17:38:21 +0000
committerEduardo de Barros Lima <>2012-12-07 17:38:21 +0000
commit4c534eb0e0f184742522f645a1ef87ad059fa037 (patch)
tree10cab88b8c24c8d2479fe9bb29a2a5e204eb587f /m4
parent892c64297ece6c9f1ef1bbb8cdd0355de69133ec (diff)
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 <> SVN revision: 80476
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions