diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2016-11-07 11:38:34 -0500 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2016-11-07 11:38:34 -0500 |
commit | a08654f773bbd18c095547a230ac273f969015d1 (patch) | |
tree | e2e77802958c61fd77093b45f538b0c651ad2dee | |
parent | 49d9cea5aa91f40e82050f493d6fa1f055ccc60e (diff) | |
download | enlightenment-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.c | 8 |
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); |