This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.

View the commit online.

commit fe0945600ad4f649427f8e17cfd5cc8fcd1298da
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Sun Sep 11 15:35:54 2022 +0100

    win - shapes - set pass events if we have shaped wins but no rects
    
    could be an EMPTY set of input rects but shaped still... so pass
    events on the comp obj.
    
    fixes recordmydesktop
    
    @fix
---
 src/bin/e_comp_object.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 3c0597d5d..533c49655 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -749,7 +749,7 @@ _e_comp_object_shadow_setup(E_Comp_Object *cw)
         else
           edje_object_part_swallow(cw->shobj, "e.swallow.content", cw->obj);
      }
-   if (cw->input_objs)
+   if ((cw->input_objs) || ((cw->ec) && (cw->ec->shaped)))
      evas_object_pass_events_set(cw->obj, 1);
    else
      evas_object_pass_events_set(cw->obj, 0);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to