_shot_delay(void *data)
{
timer = NULL;
- if (e_comp_util_has_x())
+ if (e_comp->comp_type == E_PIXMAP_TYPE_X)
_x_shot_now(data, NULL, NULL);
else
_wl_shot_now(data, NULL, NULL);
_shot_delay_border(void *data)
{
border_timer = NULL;
- if (e_comp_util_has_x())
+ if (e_comp->comp_type == E_PIXMAP_TYPE_X)
_x_shot_now(NULL, data, NULL);
else
_wl_shot_now(NULL, data, NULL);
ecore_timer_del(border_timer);
border_timer = NULL;
}
- if (e_comp_util_has_x())
+ if (e_comp->comp_type == E_PIXMAP_TYPE_X)
_x_shot_now(NULL, ec, NULL);
else
_wl_shot_now(NULL, ec, NULL);
if (!zone) zone = e_zone_current_get();
if (!zone) return;
E_FREE_FUNC(timer, ecore_timer_del);
- if (e_comp_util_has_x())
+ if (e_comp->comp_type == E_PIXMAP_TYPE_X)
_x_shot_now(zone, NULL, params);
else
_wl_shot_now(zone, NULL, params);