forked from enlightenment/enlightenment
e - unbreak build due to efl changes
This commit is contained in:
parent
6f4d2bd16d
commit
ea3f6ed68f
|
@ -17,6 +17,7 @@
|
|||
# endif
|
||||
|
||||
#ifdef HAVE_WAYLAND
|
||||
# define EFL_EO_API_SUPPORT
|
||||
# define EFL_BETA_API_SUPPORT
|
||||
#endif
|
||||
|
||||
|
|
|
@ -2188,7 +2188,7 @@ _cb_early_frame_cb(void *data, const Efl_Event *event EINA_UNUSED)
|
|||
if (ec->comp_data->early_frame++ > 15)
|
||||
{
|
||||
ec->comp_data->early_frame = 0;
|
||||
efl_event_callback_del(e_comp->evas, EFL_EVENT_ANIMATOR_TICK,
|
||||
efl_event_callback_del(e_comp->evas, EFL_CANVAS_OBJECT_EVENT_ANIMATOR_TICK,
|
||||
_cb_early_frame_cb, data);
|
||||
}
|
||||
}
|
||||
|
@ -2198,14 +2198,14 @@ _e_comp_wl_surface_early_frame(E_Client *ec)
|
|||
{
|
||||
if (e_comp_object_damage_exists(ec->frame))
|
||||
{
|
||||
efl_event_callback_del(e_comp->evas, EFL_EVENT_ANIMATOR_TICK,
|
||||
efl_event_callback_del(e_comp->evas, EFL_CANVAS_OBJECT_EVENT_ANIMATOR_TICK,
|
||||
_cb_early_frame_cb, ec);
|
||||
ec->comp_data->early_frame = 0;
|
||||
return;
|
||||
}
|
||||
if (ec->on_post_updates) return;
|
||||
if (!ec->comp_data->early_frame)
|
||||
efl_event_callback_add(e_comp->evas, EFL_EVENT_ANIMATOR_TICK,
|
||||
efl_event_callback_add(e_comp->evas, EFL_CANVAS_OBJECT_EVENT_ANIMATOR_TICK,
|
||||
_cb_early_frame_cb, ec);
|
||||
ec->comp_data->early_frame = 1;
|
||||
}
|
||||
|
@ -2582,7 +2582,7 @@ _e_comp_wl_client_cb_del(void *data EINA_UNUSED, E_Client *ec)
|
|||
/* make sure this is a wayland client */
|
||||
if (e_pixmap_type_get(ec->pixmap) != E_PIXMAP_TYPE_WL) return;
|
||||
|
||||
efl_event_callback_del(e_comp->evas, EFL_EVENT_ANIMATOR_TICK,
|
||||
efl_event_callback_del(e_comp->evas, EFL_CANVAS_OBJECT_EVENT_ANIMATOR_TICK,
|
||||
_cb_early_frame_cb, ec);
|
||||
ec->comp_data->early_frame = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue