diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2020-06-28 20:23:07 +0100 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2020-06-28 20:23:07 +0100 |
commit | 5c03da91a73e1d546a19e961fd1a4d8d8c91c2c0 (patch) | |
tree | e819ace04b71a248323b78b1f63821a95633f7ec | |
parent | db73bcabd92fd854908d49e54c1ff83159680687 (diff) | |
download | enlightenment-5c03da91a73e1d546a19e961fd1a4d8d8c91c2c0.tar.gz |
only call notidle if wl compiled in and wl on...
-rw-r--r-- | src/bin/e_comp_canvas.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/e_comp_canvas.c b/src/bin/e_comp_canvas.c index 5ee32a8536..e011e858cc 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; } |