forked from enlightenment/enlightenment
only call notidle if wl compiled in and wl on...
This commit is contained in:
parent
db73bcabd9
commit
5c03da91a7
|
@ -437,7 +437,10 @@ e_comp_canvas_init(int w, int h)
|
||||||
if ((!after_restart) || (!e_comp_x))
|
if ((!after_restart) || (!e_comp_x))
|
||||||
ecore_evas_pointer_warp(e_comp->ee, e_comp->w / 2, e_comp->h / 2);
|
ecore_evas_pointer_warp(e_comp->ee, e_comp->w / 2, e_comp->h / 2);
|
||||||
|
|
||||||
|
#ifdef HAVE_WAYLAND
|
||||||
|
if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
|
||||||
e_comp_wl_notidle();
|
e_comp_wl_notidle();
|
||||||
|
#endif
|
||||||
return EINA_TRUE;
|
return EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue