discomfitor pushed a commit to branch master.


commit 682dd5f8355d0e4f688114adefb465d8c59e5c80
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Sep 19 15:04:47 2016 -0400

    check visibility of gadget site 'events' member to determine drop 
    the layout object of a gadget site does not need to be visible since it may 
    used for desktop gadgets or a transparent overlay
 src/bin/e_gadget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_gadget.c b/src/bin/e_gadget.c
index 20d85fe..2114337 100644
--- a/src/bin/e_gadget.c
+++ b/src/bin/e_gadget.c
@@ -1771,7 +1771,7 @@ _editor_pointer_button(Gadget_Item *active, int t 
EINA_UNUSED, Ecore_Event_Mouse
              EINA_LIST_FOREACH(sites->sites, l, zgs)
                   if (!zgs->layout) continue;
-                  if (!evas_object_visible_get(zgs->layout)) continue;
+                  if (!evas_object_visible_get(zgs->events)) continue;
                   evas_object_geometry_get(zgs->layout, &x, &y, &w, &h);
                   if (!E_INSIDE(ev->x, ev->y, x, y, w, h)) continue;
                   /* FIXME: technically not accurate since objects on the same 


Reply via email to