derekf pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=a4a2f6b09e88d555826a3f3b57bd8621c4b1752e

commit a4a2f6b09e88d555826a3f3b57bd8621c4b1752e
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Tue Jul 26 15:12:34 2016 -0500

    Fix getting top object in comp canvas
    
    Correctly return the top non-repeating event window
    
    ref 1a982fd72afc0aebaea5fd10f9acd08841291d60
---
 src/bin/e_comp.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c
index 82a2c2a..eee7df3 100644
--- a/src/bin/e_comp.c
+++ b/src/bin/e_comp.c
@@ -1485,12 +1485,14 @@ e_comp_top_window_at_xy_get(Evas_Coord x, Evas_Coord y)
    if (!objs) return e_comp->ee_win;
    EINA_LIST_FOREACH(objs, l, o)
      {
+        if (evas_object_repeat_events_get(o)) continue;
         ec = evas_object_data_get(o, "E_Client");
         if (ec)
           {
              eina_list_free(objs);
              return e_client_util_pwin_get(ec);
           }
+        break;
      }
    eina_list_free(objs);
    return e_comp->ee_win;

-- 


Reply via email to