raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=8884f279758bcad256ed4e5121d1ef8873ecaf81

commit 8884f279758bcad256ed4e5121d1ef8873ecaf81
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Wed Aug 7 21:15:00 2019 +0100

    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

-- 


Reply via email to