raster pushed a commit to branch master.

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

commit 5c03da91a73e1d546a19e961fd1a4d8d8c91c2c0
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Sun Jun 28 20:23:07 2020 +0100

    only call notidle if wl compiled in and wl on...
---
 src/bin/e_comp_canvas.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_comp_canvas.c b/src/bin/e_comp_canvas.c
index 5ee32a853..e011e858c 100644
--- a/src/bin/e_comp_canvas.c
+++ b/src/bin/e_comp_canvas.c
@@ -437,7 +437,10 @@ e_comp_canvas_init(int w, int h)
    if ((!after_restart) || (!e_comp_x))
      ecore_evas_pointer_warp(e_comp->ee, e_comp->w / 2, e_comp->h / 2);
 
-   e_comp_wl_notidle();
+#ifdef HAVE_WAYLAND
+   if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
+     e_comp_wl_notidle();
+#endif
    return EINA_TRUE;
 }
 

-- 


Reply via email to