From 6ceb251cf95b9ff28bc570f418ec6e7f321fe60d Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Mon, 6 Feb 2023 20:36:05 +0900 Subject: [PATCH] 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 --- src/bin/e_comp_object.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; } -- 2.34.1