summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2018-07-23 08:18:00 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-07-23 08:18:00 -0400
commit2ea7bc5a81c920afbb9ef197c6c7c5659508c4d4 (patch)
tree8e2322291f09eecc9c66ca68fffcb15f7e03cd1d
parent62a09f69a111892e9b5534c0c78c96c6db807622 (diff)
evas clip: more strict comparison.
Summary: just improvement from D6645 Reviewers: zmike, #committers Reviewed By: zmike, #committers Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6650
-rw-r--r--src/lib/evas/canvas/evas_clip.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/lib/evas/canvas/evas_clip.c b/src/lib/evas/canvas/evas_clip.c
index c69097dc8f..54c021f1b2 100644
--- a/src/lib/evas/canvas/evas_clip.c
+++ b/src/lib/evas/canvas/evas_clip.c
@@ -394,8 +394,9 @@ _efl_canvas_object_clip_set(Eo *eo_obj, Evas_Object_Protected_Data *obj, Evas_Ob
394 evas_object_update_bounding_box(eo_obj, obj, NULL); 394 evas_object_update_bounding_box(eo_obj, obj, NULL);
395 evas_object_clip_dirty(eo_obj, obj); 395 evas_object_clip_dirty(eo_obj, obj);
396 evas_object_recalc_clippees(obj); 396 evas_object_recalc_clippees(obj);
397 if (obj->cur->visible && (!obj->is_smart) && 397 if ((!obj->is_smart) &&
398 (!((obj->map->cur.map) && (obj->map->cur.usemap)))) 398 (!((obj->map->cur.map) && (obj->map->cur.usemap))) &&
399 evas_object_is_visible(eo_obj, obj))
399 { 400 {
400 _evas_canvas_event_pointer_in_rect_mouse_move_feed(obj->layer->evas, 401 _evas_canvas_event_pointer_in_rect_mouse_move_feed(obj->layer->evas,
401 eo_obj, 402 eo_obj,
@@ -443,8 +444,9 @@ _clip_unset(Eo *eo_obj, Evas_Object_Protected_Data *obj)
443 evas_object_clip_dirty(eo_obj, obj); 444 evas_object_clip_dirty(eo_obj, obj);
444 evas_object_recalc_clippees(obj); 445 evas_object_recalc_clippees(obj);
445 446
446 if (obj->cur->visible && (!obj->is_smart) && 447 if ((!obj->is_smart) &&
447 (!((obj->map->cur.map) && (obj->map->cur.usemap)))) 448 (!((obj->map->cur.map) && (obj->map->cur.usemap))) &&
449 evas_object_is_visible(eo_obj, obj))
448 { 450 {
449 _evas_canvas_event_pointer_in_rect_mouse_move_feed(obj->layer->evas, 451 _evas_canvas_event_pointer_in_rect_mouse_move_feed(obj->layer->evas,
450 eo_obj, 452 eo_obj,