evas/evas_object_polygon - fixed wrong.

SVN revision: 64553
This commit is contained in:
ChunEon Park 2011-10-31 10:30:39 +00:00
parent 52a4c4bc7c
commit 169ffa5fcd
1 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ evas_object_polygon_point_add(Evas_Object *obj, Evas_Coord x, Evas_Coord y)
MAGIC_CHECK(o, Evas_Object_Polygon, MAGIC_OBJ_POLYGON);
return;
MAGIC_CHECK_END();
if (obj->layer->evas->events_frozen != 0)
if (obj->layer->evas->events_frozen <= 0)
{
if (!evas_event_passes_through(obj))
was = evas_object_is_in_output_rect(obj,
@ -169,7 +169,7 @@ evas_object_polygon_point_add(Evas_Object *obj, Evas_Coord x, Evas_Coord y)
evas_object_change(obj);
evas_object_clip_dirty(obj);
evas_object_coords_recalc(obj);
if (obj->layer->evas->events_frozen != 0)
if (obj->layer->evas->events_frozen <= 0)
{
is = evas_object_is_in_output_rect(obj,
obj->layer->evas->pointer.x,