summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-11-07 11:38:34 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-11-07 11:38:34 -0500
commita08654f773bbd18c095547a230ac273f969015d1 (patch)
treee2e77802958c61fd77093b45f538b0c651ad2dee
parent49d9cea5aa91f40e82050f493d6fa1f055ccc60e (diff)
downloadenlightenment-a08654f773bbd18c095547a230ac273f969015d1.tar.gz
force bryce repositioning onto target zone during startup
ensure that subsequent operations do not accidentally the bryce's zone fix T4784
-rw-r--r--src/bin/e_bryce.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/bin/e_bryce.c b/src/bin/e_bryce.c
index 613e033cda..f58613ea99 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);