info->surfaces = eina_list_append(info->surfaces, surface);
_e_gesture_deactivate_listener_add(client, surface);
focused_ec = e_client_focused_get();
- if (focused_ec && focused_ec->comp_data && focused_ec->comp_data->wl_surface &&
- surface == focused_ec->comp_data->wl_surface)
+ if (focused_ec)
{
- info->active = EINA_FALSE;
- info->surface = surface;
+ struct wl_resource *focused_surface = e_comp_wl_wl_surface_get(focused_ec);
+ if (focused_surface && (focused_surface == surface))
+ {
+ info->active = EINA_FALSE;
+ info->surface = surface;
+ }
}
added = EINA_TRUE;
}
struct wl_resource *surface;
EINA_SAFETY_ON_NULL_RETURN(ec);
- EINA_SAFETY_ON_NULL_RETURN(ec->comp_data);
+ EINA_SAFETY_ON_NULL_RETURN(e_comp_wl_data_check(ec));
- surface = ec->comp_data->wl_surface;
+ surface = e_comp_wl_wl_surface_get(ec);
if (!surface) return;
_e_gesture_deactivate_surface_list_check(surface, &gesture->gesture_events.edge_swipes.base.activation);
EINA_SAFETY_ON_NULL_RETURN_VAL(ev, ECORE_CALLBACK_PASS_ON);
ec = ev->ec;
EINA_SAFETY_ON_NULL_RETURN_VAL(ec, ECORE_CALLBACK_PASS_ON);
- EINA_SAFETY_ON_NULL_RETURN_VAL(ec->comp_data, ECORE_CALLBACK_PASS_ON);
+ EINA_SAFETY_ON_NULL_RETURN_VAL(e_comp_wl_data_check(ec), ECORE_CALLBACK_PASS_ON);
_e_gesture_window_gesture_disabled_change(ec);
_e_gesture_deactivate_surface_check(ec);
E_Client *qp_ec;
Eina_List *list, *l;
Eina_Bool res_return = EINA_FALSE;
- if (e_object_is_del(E_OBJECT(ec)) || !ec->comp_data) return;
- if (!ec->comp_data->aux_hint.changed) return;
+ if (e_object_is_del(E_OBJECT(ec)) || !e_comp_wl_data_check(ec)) return;
+ if (!e_comp_wl_aux_hint_changed_get(ec)) return;
list = e_service_quickpanels_get();
EINA_LIST_FOREACH(list, l, qp_ec)