diff options
author | Mike Blumenkrantz <m.blumenkran@samsung.com> | 2013-08-30 09:37:24 +0100 |
---|---|---|
committer | Mike Blumenkrantz <m.blumenkran@samsung.com> | 2013-08-30 09:37:24 +0100 |
commit | f2b4936bfab07e823a7b54cb4a6fa09cb60c1550 (patch) | |
tree | d68d2f502f0d7bdf6da94ae15f4be883a0e24c5a | |
parent | f37f806eff928507b1212db92e0c7577cb3d9c99 (diff) | |
download | enlightenment-f2b4936bfab07e823a7b54cb4a6fa09cb60c1550.tar.gz |
set precise_is_inside on comp image object to finally fix shaped overrides once and for all
-rw-r--r-- | src/bin/e_comp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c index faff6ed782..8fe4e764c2 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); |