summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-06-28 20:23:07 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-06-28 20:23:07 +0100
commit5c03da91a73e1d546a19e961fd1a4d8d8c91c2c0 (patch)
treee819ace04b71a248323b78b1f63821a95633f7ec /src
parentdb73bcabd92fd854908d49e54c1ff83159680687 (diff)
only call notidle if wl compiled in and wl on...
Diffstat (limited to 'src')
-rw-r--r--src/bin/e_comp_canvas.c5
1 files changed, 4 insertions, 1 deletions
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)
437 if ((!after_restart) || (!e_comp_x)) 437 if ((!after_restart) || (!e_comp_x))
438 ecore_evas_pointer_warp(e_comp->ee, e_comp->w / 2, e_comp->h / 2); 438 ecore_evas_pointer_warp(e_comp->ee, e_comp->w / 2, e_comp->h / 2);
439 439
440 e_comp_wl_notidle(); 440#ifdef HAVE_WAYLAND
441 if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
442 e_comp_wl_notidle();
443#endif
441 return EINA_TRUE; 444 return EINA_TRUE;
442} 445}
443 446