forked from enlightenment/enlightenment
Fix incorrect monitor position text on some startup cases.
When we call "grid_set" (as a result of the grid object moving or resizing), we should update the monitor position text. Signed-off-by: Christopher Michael <cp.michael@samsung.com>
This commit is contained in:
parent
dce3e8f74f
commit
eca3475b79
|
@ -399,6 +399,12 @@ e_smart_monitor_grid_set(Evas_Object *obj, Evas_Object *grid, Evas_Coord gx, Eva
|
|||
sd->grid.y = gy;
|
||||
sd->grid.w = gw;
|
||||
sd->grid.h = gh;
|
||||
|
||||
/* set monitor position text */
|
||||
_e_smart_monitor_position_set(sd, sd->current.x, sd->current.y);
|
||||
|
||||
evas_object_grid_pack(sd->grid.obj, obj, sd->current.x,
|
||||
sd->current.y, sd->current.w, sd->current.h);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue