this variable was unused and confusing

SVN revision: 69886
This commit is contained in:
Mike Blumenkrantz 2012-04-03 05:30:35 +00:00
parent 52bb5189df
commit bf44f22f33
1 changed files with 11 additions and 14 deletions

View File

@ -5,27 +5,24 @@
static void
_evas_map_calc_geom_change(Evas_Object *obj)
{
int is, was = 0, pass = 0;
int is, was = 0;
evas_object_change(obj);
evas_object_clip_dirty(obj);
if (obj->layer->evas->events_frozen <= 0)
{
evas_object_recalc_clippees(obj);
if (!pass)
if (!obj->smart.smart)
{
if (!obj->smart.smart)
{
is = evas_object_is_in_output_rect(obj,
obj->layer->evas->pointer.x,
obj->layer->evas->pointer.y, 1, 1);
if ((is ^ was) && obj->cur.visible)
evas_event_feed_mouse_move(obj->layer->evas,
obj->layer->evas->pointer.x,
obj->layer->evas->pointer.y,
obj->layer->evas->last_timestamp,
NULL);
}
is = evas_object_is_in_output_rect(obj,
obj->layer->evas->pointer.x,
obj->layer->evas->pointer.y, 1, 1);
if ((is ^ was) && obj->cur.visible)
evas_event_feed_mouse_move(obj->layer->evas,
obj->layer->evas->pointer.x,
obj->layer->evas->pointer.y,
obj->layer->evas->last_timestamp,
NULL);
}
}
evas_object_inform_call_move(obj);