From: Changyeon Lee Date: Mon, 6 Feb 2023 11:36:05 +0000 (+0900) Subject: e_comp_object: fix the size of effect object X-Git-Tag: accepted/tizen/7.0/unified/20230209.070254^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6ceb251cf95b9ff28bc570f418ec6e7f321fe60d;p=platform%2Fupstream%2Fenlightenment.git e_comp_object: fix the size of effect object the size of effect object should be set with the size of comp object when map of effect object is disabled, not the size of buffer. because the size of buffer can be different with the size of comp object when client attach buffer which is not matched comp object. Change-Id: I609f29db78d666f5efe18a39d1f295fb23a6af02 --- diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index 1429913931..88f57273a0 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -6316,9 +6316,10 @@ e_comp_object_map_update(Evas_Object *obj) { ELOGF("TRANSFORM", "map: disable", cw->ec); evas_object_map_enable_set(cw->effect_obj, EINA_FALSE); + _e_comp_object_map_transform_rect(cw->ec, 0, 0, cw->w, cw->h, NULL, NULL, &tw, &th); + evas_object_resize(cw->effect_obj, tw, th); } - e_pixmap_size_get(ec->pixmap, &bw, &bh); - evas_object_resize(cw->effect_obj, bw, bh); + return; }