|
From: Mike B. - E. G. <no-...@en...> - 2013-08-30 08:37:19
|
discomfitor pushed a commit to branch master.
commit f2b4936bfab07e823a7b54cb4a6fa09cb60c1550
Author: Mike Blumenkrantz <m.b...@sa...>
Date: Fri Aug 30 09:37:24 2013 +0100
set precise_is_inside on comp image object to finally fix shaped overrides once and for all
---
src/bin/e_comp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index faff6ed..8fe4e76 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -570,6 +570,7 @@ _e_comp_win_update(E_Comp_Win *cw)
}
}
cw->shaped = _e_comp_win_shaped_check(cw, cw->shape->shape_rects, cw->shape->shape_rects_num);
+ evas_object_precise_is_inside_set(cw->obj, cw->shaped);
}
if (cw->dmg_updates && (((!cw->pixmap) || (cw->needpix)) &&
@@ -2243,7 +2244,7 @@ _e_comp_win_add(E_Comp *c, Ecore_X_Window win, E_Border *bd)
edje_object_signal_callback_add(cw->shobj, "e,action,show,done", "e", _e_comp_show_done, cw);
edje_object_signal_callback_add(cw->shobj, "e,action,hide,done", "e", _e_comp_hide_done, cw);
- if (cw->shaped) evas_object_precise_is_inside_set(cw->effect_obj, 1);
+ evas_object_precise_is_inside_set(cw->obj, cw->shaped);
_e_comp_win_layout_populate(cw);
--
|