Move and resize the monitor after packing to it's proper position.
authorChristopher Michael <cp.michael@samsung.com>
Tue, 19 Feb 2013 10:56:02 +0000 (10:56 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Tue, 19 Feb 2013 10:56:02 +0000 (10:56 +0000)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84135

src/modules/conf_randr/e_smart_randr.c

index 1c341bb..e6c0384 100644 (file)
@@ -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);
           }
      }
 }