From 6f0dfdad6c21c080a75c6e608abb6414b3868134 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Tue, 19 Feb 2013 10:56:02 +0000 Subject: [PATCH] Backport: 87a3d1d :: Move and resize the monitor after packing to it's proper position. Signed-off-by: Christopher Michael SVN revision: 84135 Signed-off-by: Deon Thomas --- src/modules/conf_randr/e_smart_randr.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/modules/conf_randr/e_smart_randr.c b/src/modules/conf_randr/e_smart_randr.c index 1c341bb37..e6c03840f 100644 --- a/src/modules/conf_randr/e_smart_randr.c +++ b/src/modules/conf_randr/e_smart_randr.c @@ -87,6 +87,12 @@ e_smart_randr_monitors_create(Evas_Object *obj) /* pack this monitor into the layout */ e_layout_pack(sd->o_layout, mon); + + /* move this monitor to proper position */ + e_layout_child_move(mon, crtc->x, crtc->y); + + /* resize this monitor to proper size */ + e_layout_child_resize(mon, crtc->w, crtc->h); } } }