From 3b377bac001a9887aeca9afb57227ef584915cb2 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Sun, 28 Jun 2020 20:23:07 +0100 Subject: [PATCH] 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; }