if (!e_comp->hwc) return EINA_FALSE;
- // will be removed once hwc cursor is supported
- EINA_LIST_FOREACH(e_comp_wl->seats, l, seat)
- if (!e_pointer_is_hidden(seat->pointer)) return EINA_FALSE;
-
// check whether to use hwc
// core assignment policy
ret = _e_comp_hwc_prepare();
(eout->cursor_available.max_h == -1))
{
// hw cursor is not supported by libtdm, than let's composite
- if (!e_pointer_is_hidden(e_comp->pointer)) return EINA_FALSE;
+ EINA_LIST_FOREACH(e_comp_wl->seats, l, seat)
+ if (!e_pointer_is_hidden(seat->pointer)) return EINA_FALSE;
}
EINA_LIST_FOREACH(ep_l, p_l, ep)
if (!ec->seat) return;
if (!ec->seat->ptr.enabled) return;
- if (!e_comp_wl->ptr.ec || !e_comp_wl->ptr.ec->comp_data || !e_comp_wl->ptr.ec->comp_data->surface) return;
+ if (!ec->seat->ptr.ec || !ec->seat->ptr.ec->comp_data || !ec->seat->ptr.ec->comp_data->surface) return;
wc = wl_resource_get_client(resource);
- if (wc != wl_resource_get_client(e_comp_wl->ptr.ec->comp_data->surface)) return;
+ if (wc != wl_resource_get_client(ec->seat->ptr.ec->comp_data->surface)) return;
if ((ptr = ec->seat->pointer))
e_pointer_object_set(ptr, ec->frame, ptr->hot.x, ptr->hot.y);