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-18 11:44:21 -0500
commitefd0136d22b6d40383e84e7e6ea35faf04517dcb (patch)
tree6cd6cac36446fe1425536f0c37afe3abe6b95674
parentffc2706b491beb3f73bd42a3c276fdf7af33c85b (diff)
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 bb8e205f7..cdcebcab3 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)
134 134
135 zone = e_comp_zone_number_get(b->zone); 135 zone = e_comp_zone_number_get(b->zone);
136 ox = zone->x, oy = zone->y, ow = zone->w, oh = zone->h; 136 ox = zone->x, oy = zone->y, ow = zone->w, oh = zone->h;
137 if (starting)
138 {
139 E_Zone *zone2;
140
141 zone2 = e_comp_object_util_zone_get(b->bryce);
142 if (zone != zone2)
143 evas_object_move(b->bryce, ox, oy);
144 }
137 } 145 }
138 else 146 else
139 evas_object_geometry_get(b->parent, &ox, &oy, &ow, &oh); 147 evas_object_geometry_get(b->parent, &ox, &oy, &ow, &oh);