diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2020-06-28 20:23:07 +0100 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2020-07-14 13:58:44 +0100 |
commit | 3b377bac001a9887aeca9afb57227ef584915cb2 (patch) | |
tree | 83566d2e8d870b04f4cc82ccce1e8ad5561fb17d | |
parent | 9cfdc04f126e29c6f49772c2b953a09179c83fcf (diff) | |
download | enlightenment-3b377bac001a9887aeca9afb57227ef584915cb2.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; } |