devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=b072a544997d66b054012a65edb12140452d2c1e

commit b072a544997d66b054012a65edb12140452d2c1e
Author: Chris Michael <[email protected]>
Date:   Mon Oct 13 15:49:52 2014 -0400

    e-comp-wl: Reduce calls to wayland protocol functions. These are not
    needed here and just waste extra cycles.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/bin/e_comp_wl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index eb18084..6128892 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1296,7 +1296,7 @@ _e_comp_wl_cb_read(void *data, Ecore_Fd_Handler *hdl 
EINA_UNUSED)
    if (!cdata->wl.disp) return ECORE_CALLBACK_RENEW;
 
    /* flush any pending client events */
-   wl_display_flush_clients(cdata->wl.disp);
+   /* wl_display_flush_clients(cdata->wl.disp); */
 
    /* dispatch any pending main loop events */
    wl_event_loop_dispatch(cdata->wl.loop, 0);
@@ -1316,7 +1316,7 @@ _e_comp_wl_cb_idle(void *data)
    wl_display_flush_clients(cdata->wl.disp);
 
    /* dispatch any pending main loop events */
-   wl_event_loop_dispatch(cdata->wl.loop, 0);
+   /* wl_event_loop_dispatch(cdata->wl.loop, 0); */
 
    return ECORE_CALLBACK_RENEW;
 }

-- 


Reply via email to