princeamd pushed a commit to branch enlightenment-0.17.
commit 6f0dfdad6c21c080a75c6e608abb6414b3868134
Author: Christopher Michael <[email protected]>
Date: Tue Feb 19 10:56:02 2013 +0000
Backport: 87a3d1d :: Move and resize the monitor after packing to it's
proper position.
Signed-off-by: Christopher Michael <[email protected]>
SVN revision: 84135
Signed-off-by: Deon Thomas <[email protected]>
---
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 1c341bb..e6c0384 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);
}
}
}
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev