summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_clip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_clip.c')
-rw-r--r--src/lib/evas/canvas/evas_clip.c20
1 files changed, 8 insertions, 12 deletions
diff --git a/src/lib/evas/canvas/evas_clip.c b/src/lib/evas/canvas/evas_clip.c
index 5dfbc4871a..76cddc0301 100644
--- a/src/lib/evas/canvas/evas_clip.c
+++ b/src/lib/evas/canvas/evas_clip.c
@@ -369,7 +369,6 @@ _clip_unset(Eo *eo_obj, void *_pd, va_list *list EINA_UNUSED)
369{ 369{
370 Evas_Object_Protected_Data *obj = _pd; 370 Evas_Object_Protected_Data *obj = _pd;
371 371
372 if (!obj->cur) return;
373 if (!obj->cur->clipper) return; 372 if (!obj->cur->clipper) return;
374 373
375 obj->clip.cache_clipees_answer = eina_list_free(obj->clip.cache_clipees_answer); 374 obj->clip.cache_clipees_answer = eina_list_free(obj->clip.cache_clipees_answer);
@@ -387,7 +386,7 @@ _clip_unset(Eo *eo_obj, void *_pd, va_list *list EINA_UNUSED)
387 { 386 {
388 EINA_COW_STATE_WRITE_BEGIN(obj->cur->clipper, state_write, cur) 387 EINA_COW_STATE_WRITE_BEGIN(obj->cur->clipper, state_write, cur)
389 { 388 {
390 if (state_write) state_write->have_clipees = 0; 389 state_write->have_clipees = 0;
391 } 390 }
392 EINA_COW_STATE_WRITE_END(obj->cur->clipper, state_write, cur); 391 EINA_COW_STATE_WRITE_END(obj->cur->clipper, state_write, cur);
393 392
@@ -418,17 +417,14 @@ _clip_unset(Eo *eo_obj, void *_pd, va_list *list EINA_UNUSED)
418 if ((!obj->is_smart) && 417 if ((!obj->is_smart) &&
419 (!((obj->map->cur.map) && (obj->map->cur.usemap)))) 418 (!((obj->map->cur.map) && (obj->map->cur.usemap))))
420 { 419 {
421 if (obj->cur) 420 if (evas_object_is_in_output_rect(eo_obj, obj,
422 {
423 if (evas_object_is_in_output_rect(eo_obj, obj,
424 obj->layer->evas->pointer.x,
425 obj->layer->evas->pointer.y, 1, 1))
426 evas_event_feed_mouse_move(obj->layer->evas->evas,
427 obj->layer->evas->pointer.x, 421 obj->layer->evas->pointer.x,
428 obj->layer->evas->pointer.y, 422 obj->layer->evas->pointer.y, 1, 1))
429 obj->layer->evas->last_timestamp, 423 evas_event_feed_mouse_move(obj->layer->evas->evas,
430 NULL); 424 obj->layer->evas->pointer.x,
431 } 425 obj->layer->evas->pointer.y,
426 obj->layer->evas->last_timestamp,
427 NULL);
432 } 428 }
433 evas_object_clip_across_check(eo_obj, obj); 429 evas_object_clip_across_check(eo_obj, obj);
434} 430}