if (!ec) return;
if (e_object_is_del(E_OBJECT(ec))) return;
- if (!ec->comp_data->surface) return;
+ if (!ec->comp_data || !ec->comp_data->surface) return;
if (ec->ignored) return;
wc = wl_resource_get_client(ec->comp_data->surface);
return;
if (e_object_is_del(E_OBJECT(ec))) return;
if (ec->ignored) return;
- if (!ec->comp_data->surface) return;
+ if (!ec->comp_data || !ec->comp_data->surface) return;
dev_class = (Ecore_Device_Class)evas_device_class_get(dev);
dev_name = evas_device_description_get(dev);
uint32_t serial;
Eina_List *l;
- if (!ec->comp_data->surface) return;
+ if (!ec->comp_data || !ec->comp_data->surface) return;
last_device = _e_comp_wl_device_last_device_get(dev_class);
if (!last_device) return;
if (!ec) return;
if (e_object_is_del(E_OBJECT(ec))) return;
- if (!ec->comp_data->surface) return;
+ if (!ec->comp_data || !ec->comp_data->surface) return;
cx = wl_fixed_to_int(e_comp_wl->ptr.x) - ec->client.x;
cy = wl_fixed_to_int(e_comp_wl->ptr.y) - ec->client.y;
if (!(ec = data)) return;
if (e_object_is_del(E_OBJECT(ec))) return;
- if (!ec->comp_data->surface) return;
+ if (!ec->comp_data || !ec->comp_data->surface) return;
e_comp_wl->ptr.ec = ec;
if (e_comp_wl->drag)
e_comp_wl->ptr.ec = NULL;
if (e_object_is_del(E_OBJECT(ec))) return;
- if (!ec->comp_data->surface) return;
+ if (!ec->comp_data || !ec->comp_data->surface) return;
if (e_comp_wl->drag)
{
if (ec->cur_mouse_action) return;
if (e_object_is_del(E_OBJECT(ec))) return;
if (ec->ignored) return;
- if (!ec->comp_data->surface) return;
+ if (!ec->comp_data || !ec->comp_data->surface) return;
if ((!need_send_motion) && (!need_send_released) && (ec->visibility.obscured == E_VISIBILITY_FULLY_OBSCURED)) return;
{
if (ec->cur_mouse_action || e_comp_wl->drag) return;
if (e_object_is_del(E_OBJECT(ec))) return;
- if (!ec->comp_data->surface) return;
+ if (!ec->comp_data || !ec->comp_data->surface) return;
if (ec->ignored) return;
e_comp_wl->ptr.button = BTN_LEFT;
if (e_object_is_del(E_OBJECT(ec))) return;
if (ec->ignored) return;
- if (!ec->comp_data->surface) return;
+ if (!ec->comp_data || !ec->comp_data->surface) return;
if (!eina_list_count(e_comp_wl->ptr.resources))
return;
if (!ec) return;
if (e_object_is_del(E_OBJECT(ec))) return;
- if (!ec->comp_data->surface) return;
+ if (!ec->comp_data || !ec->comp_data->surface) return;
/* Do not deliver emulated single touch events to client */
if (ev->device == 0) return;
if (!ec) return;
if (e_object_is_del(E_OBJECT(ec))) return;
- if (!ec->comp_data->surface) return;
+ if (!ec->comp_data || !ec->comp_data->surface) return;
/* Do not deliver emulated single touch events to client */
if (ev->device == 0) return;
if (!ec) return;
if (e_object_is_del(E_OBJECT(ec))) return;
- if (!ec->comp_data->surface) return;
+ if (!ec->comp_data || !ec->comp_data->surface) return;
/* Do not deliver emulated single touch events to client */
if (ev->device == 0) return;
e_comp_wl->ptr.button = btn;
- if (!ec->comp_data->surface) return EINA_FALSE;
+ if (!ec->comp_data || !ec->comp_data->surface) return EINA_FALSE;
if (!eina_list_count(e_comp_wl->ptr.resources))
return EINA_TRUE;
if (!ec) return EINA_FALSE;
if (e_object_is_del(E_OBJECT(ec))) return EINA_FALSE;
- if (!ec->comp_data->surface) return EINA_FALSE;
+ if (!ec->comp_data || !ec->comp_data->surface) return EINA_FALSE;
wc = wl_resource_get_client(ec->comp_data->surface);
serial = wl_display_next_serial(e_comp_wl->wl.disp);
EINA_LIST_FOREACH(e_comp_wl->ptr.resources, l, res)