aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/emotion
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-11-08 14:47:50 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-11-09 10:52:03 +0900
commitf909a6d6eae94d4d089ef238c3d3a5c1514de4d0 (patch)
tree771f724a6627260c2eb2ad952fc1440e559f5fbe /src/lib/emotion
parentefl_net_session and efl_net_control for ConnMan (diff)
downloadefl-f909a6d6eae94d4d089ef238c3d3a5c1514de4d0.tar.gz
evas: Fix masks of masks and clippers of clippers in general
The root cause was simple: smart object clipped was not calling efl_super() on clip_set. Fixes https://phab.enlightenment.org/T4813 (and probably a whole lot of other bugs)
Diffstat (limited to 'src/lib/emotion')
-rw-r--r--src/lib/emotion/emotion_smart.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/emotion/emotion_smart.c b/src/lib/emotion/emotion_smart.c
index bc3a7eb8b6..5ea48bbcd8 100644
--- a/src/lib/emotion/emotion_smart.c
+++ b/src/lib/emotion/emotion_smart.c
@@ -2016,6 +2016,8 @@ _efl_canvas_video_efl_canvas_object_clip_set(Evas_Object *obj, Efl_Canvas_Video_
if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_CLIP_SET, 0, clip))
return;
+ efl_canvas_object_clip_set(efl_super(obj, MY_CLASS), clip);
+
if (sd->crop.clipper) evas_object_clip_set(sd->crop.clipper, clip);
else evas_object_clip_set(sd->obj, clip);
evas_object_clip_set(sd->bg, clip);