discomfitor pushed a commit to branch enlightenment-0.21.

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

commit 4c5528a0189316e223ca40e16919f2a07545d1f9
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Nov 7 11:48:51 2016 -0500

    use only zone coords when moving bryce to its zone during editing
    
    prevent coords from accidentally resulting in offscreen placement
    
    fix T4826
---
 src/bin/e_bryce_editor.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/bin/e_bryce_editor.c b/src/bin/e_bryce_editor.c
index 9592b6e..e638395 100644
--- a/src/bin/e_bryce_editor.c
+++ b/src/bin/e_bryce_editor.c
@@ -45,7 +45,6 @@ _editor_bryce_add(Evas_Object *obj)
    const char *loc = "", *loc2 = "";
    Bryce_Info *bi;
    E_Zone *zone;
-   int x, y;
    E_Gadget_Site_Gravity gravity = E_GADGET_SITE_GRAVITY_CENTER;
 
    bi = evas_object_data_get(obj, "__bryce_info");
@@ -99,8 +98,7 @@ _editor_bryce_add(Evas_Object *obj)
         e_gadget_site_gadget_add(site, "Wireless", 0);
      }
 
-   evas_object_geometry_get(b, &x, &y, NULL, NULL);
-   evas_object_move(b, x + zone->x, y + zone->y);
+   evas_object_move(b, zone->x, zone->y);
    e_gadget_site_gravity_set(site, gravity);
    e_bryce_style_set(b, bi->style);
    e_bryce_autohide_set(b, bi->autohide);

-- 


Reply via email to