summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2013-02-27 12:01:25 +0000
committerDeon Thomas <PrinceAMD.Elive@gmail.com>2013-06-28 03:28:52 -0400
commit14a8acad61acbf20b3c7a6bfd36f1492b8a6bb39 (patch)
treebd558cbc92e7b016d57c612edbc7dec6756f328b
parentfb124fe454e9ab8a88f45f2dfd6a7e1305a5e27e (diff)
downloadenlightenment-14a8acad61acbf20b3c7a6bfd36f1492b8a6bb39.tar.gz
Backport: eca3475 :: 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> Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
-rw-r--r--src/modules/conf_randr/e_smart_monitor.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/conf_randr/e_smart_monitor.c b/src/modules/conf_randr/e_smart_monitor.c
index d3814fe174..de9c6f67b7 100644
--- a/src/modules/conf_randr/e_smart_monitor.c
+++ b/src/modules/conf_randr/e_smart_monitor.c
@@ -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