summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-09-19 15:04:47 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-10-04 09:37:15 -0400
commit552d0550d3a9faa6c43d1b41121f3afec01ae475 (patch)
treef54ccd0a2aa4e193abb5c7251b37f28fdfc5fde2
parent33a396e74df1615dd6f87e12fae07e647de2a819 (diff)
check visibility of gadget site 'events' member to determine drop availability
the layout object of a gadget site does not need to be visible since it may be used for desktop gadgets or a transparent overlay
-rw-r--r--src/bin/e_gadget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_gadget.c b/src/bin/e_gadget.c
index e8e711cd7..0a70f8558 100644
--- a/src/bin/e_gadget.c
+++ b/src/bin/e_gadget.c
@@ -1711,7 +1711,7 @@ _editor_pointer_button(Gadget_Item *active, int t EINA_UNUSED, Ecore_Event_Mouse
1711 EINA_LIST_FOREACH(sites->sites, l, zgs) 1711 EINA_LIST_FOREACH(sites->sites, l, zgs)
1712 { 1712 {
1713 if (!zgs->layout) continue; 1713 if (!zgs->layout) continue;
1714 if (!evas_object_visible_get(zgs->layout)) continue; 1714 if (!evas_object_visible_get(zgs->events)) continue;
1715 evas_object_geometry_get(zgs->layout, &x, &y, &w, &h); 1715 evas_object_geometry_get(zgs->layout, &x, &y, &w, &h);
1716 if (!E_INSIDE(ev->x, ev->y, x, y, w, h)) continue; 1716 if (!E_INSIDE(ev->x, ev->y, x, y, w, h)) continue;
1717 /* FIXME: technically not accurate since objects on the same layer 1717 /* FIXME: technically not accurate since objects on the same layer