forked from enlightenment/enlightenment
force bryce repositioning onto target zone during startup
ensure that subsequent operations do not accidentally the bryce's zone fix T4784
This commit is contained in:
parent
49d9cea5aa
commit
a08654f773
|
@ -134,6 +134,14 @@ _bryce_position(Bryce *b, int w, int h, int *nx, int *ny)
|
||||||
|
|
||||||
zone = e_comp_zone_number_get(b->zone);
|
zone = e_comp_zone_number_get(b->zone);
|
||||||
ox = zone->x, oy = zone->y, ow = zone->w, oh = zone->h;
|
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
|
else
|
||||||
evas_object_geometry_get(b->parent, &ox, &oy, &ow, &oh);
|
evas_object_geometry_get(b->parent, &ox, &oy, &ow, &oh);
|
||||||
|
|
Loading…
Reference in New Issue