_tz_surface_rotation_find(E_Client *ec)
{
E_Comp_Screen_Tzsr *tzsr;
- Eina_List *l, *ll;
+ Eina_List *l;
- EINA_LIST_FOREACH_SAFE(tzsr_list, l, ll, tzsr)
+ EINA_LIST_FOREACH(tzsr_list, l, tzsr)
{
if (tzsr->ec == ec)
return tzsr;
e_screen_rotation_init()
{
struct ds_tizen_screen_rotation *screen_rotation;
- screen_rotation = ds_tizen_screen_rotation_create(e_comp_wl->wl.disp);
+ screen_rotation = ds_tizen_screen_rotation_create(e_comp_wl->wl.disp);
if (!screen_rotation)
{
ERR("Could not add tizen_screen_rotation to wayland globals");
e_screen_rotation_ignore_output_transform_send(E_Client *ec, Eina_Bool ignore)
{
E_Comp_Screen_Tzsr *tzsr;
+
tzsr = _tz_surface_rotation_find(ec);
EINA_SAFETY_ON_NULL_RETURN(tzsr);