From 8884f279758bcad256ed4e5121d1ef8873ecaf81 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Wed, 7 Aug 2019 21:15:00 +0100 Subject: [PATCH] e wl - fix borders to keep cutouts working in soem cases a client has no csd and then border l/r/t/b/ are all 0 so artifically keep 1 at 1... to keep cutouts working. still need to solve blending still being on though. --- src/bin/e_comp_object.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index bd28a4f54..06fb2224d 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -4125,6 +4125,11 @@ e_comp_object_dirty(Evas_Object *obj) if (bxx && byy) { bxx = w - (bx + bxx), byy = h - (by + byy); + // XXX: FIXME: - keep at least ONE border > 0 to allow cutouts to work + // evas doesnt have a good fix for this right now.... also + // we still BLEND the center bit anyway as we dont switch to non + // blend ... so ugh. evas issue tho. + if (byy < 1) byy = 1; evas_object_image_border_set(cw->obj, bx, bxx, by, byy); } else