discomfitor pushed a commit to branch enlightenment-0.21.

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

commit efd0136d22b6d40383e84e7e6ea35faf04517dcb
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Nov 7 11:38:34 2016 -0500

    force bryce repositioning onto target zone during startup
    
    ensure that subsequent operations do not accidentally the bryce's zone
    
    fix T4784
---
 src/bin/e_bryce.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/bin/e_bryce.c b/src/bin/e_bryce.c
index bb8e205..cdcebca 100644
--- a/src/bin/e_bryce.c
+++ b/src/bin/e_bryce.c
@@ -134,6 +134,14 @@ _bryce_position(Bryce *b, int w, int h, int *nx, int *ny)
         
         zone = e_comp_zone_number_get(b->zone);
         ox = zone->x, oy = zone->y, ow = zone->w, oh = zone->h;
+        if (starting)
+          {
+             E_Zone *zone2;
+
+             zone2 = e_comp_object_util_zone_get(b->bryce);
+             if (zone != zone2)
+               evas_object_move(b->bryce, ox, oy);
+          }
      }
    else
      evas_object_geometry_get(b->parent, &ox, &oy, &ow, &oh);

-- 


Reply via email to