diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2016-11-08 14:47:50 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2016-11-09 10:52:03 +0900 |
commit | f909a6d6eae94d4d089ef238c3d3a5c1514de4d0 (patch) | |
tree | 771f724a6627260c2eb2ad952fc1440e559f5fbe /src/lib/emotion/emotion_smart.c | |
parent | 98fe627ca41f648e0dbf4e0072efa05057f273ca (diff) |
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 T4813 (and probably a whole lot of other bugs)
Diffstat (limited to '')
-rw-r--r-- | src/lib/emotion/emotion_smart.c | 2 |
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_ | |||
2016 | if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_CLIP_SET, 0, clip)) | 2016 | if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_CLIP_SET, 0, clip)) |
2017 | return; | 2017 | return; |
2018 | 2018 | ||
2019 | efl_canvas_object_clip_set(efl_super(obj, MY_CLASS), clip); | ||
2020 | |||
2019 | if (sd->crop.clipper) evas_object_clip_set(sd->crop.clipper, clip); | 2021 | if (sd->crop.clipper) evas_object_clip_set(sd->crop.clipper, clip); |
2020 | else evas_object_clip_set(sd->obj, clip); | 2022 | else evas_object_clip_set(sd->obj, clip); |
2021 | evas_object_clip_set(sd->bg, clip); | 2023 | evas_object_clip_set(sd->bg, clip); |