discomfitor pushed a commit to branch master.

commit b285449cfa32cc01aae83ec237344f61de963720
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Aug 15 11:51:21 2013 +0100

    try precise_is_inside for shaped windows...this may further break shaped 
overrides
---
 src/bin/e_comp.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 4e46504..faff6ed 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -2243,6 +2243,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);
 
         _e_comp_win_layout_populate(cw);
 
@@ -3774,11 +3775,7 @@ 
_e_comp_shapes_update_comp_win_shape_comp_helper(E_Comp_Win *cw, Eina_Tiler *tb)
         SHAPE_INF("IGNORING DELETED: %u", cw->win);
         return;
      }
-   if (cw->override && cw->shaped)
-     {
-        ERR("SHAPED OVERRIDE WINDOW DETECTED: INPUT SHAPE CUTTING BROKEN!");
-        return;
-     }
+
    if (cw->invalid || cw->real_hid || (!cw->visible) || (!cw->shape->visible) 
||
        evas_object_pass_events_get(cw->effect_obj) || 
evas_object_repeat_events_get(cw->effect_obj))
      {

-- 

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk

Reply via email to