From 9e23feb4825cb2842c94ea46e60c34f1bf3365bc Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Tue, 8 Mar 2022 01:30:17 +0000 Subject: [PATCH] comp - fix event shape to account for txt/texblock and img properly @fix --- src/bin/e_comp.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c index 252b089a8..541fd4b18 100644 --- a/src/bin/e_comp.c +++ b/src/bin/e_comp.c @@ -799,6 +799,13 @@ _tiler_add_input_sub(Evas_Object *par, Eina_Tiler *tb) (!strcmp(type, "textblock")) ) { + const char *name = evas_object_name_get(o); + + evas_object_geometry_get(o, &x, &y, &w, &h); + if ((name) && (!strcmp(name, "cw->obj"))) + eina_tiler_rect_del(tb, &(Eina_Rectangle){x, y, w, h}); + else + eina_tiler_rect_add(tb, &(Eina_Rectangle){x, y, w, h}); } else if ((!strcmp(type, "edje")) || (!strcmp(type, "e_zoomap")))