If we unclone (from a blank config) than we need to update the current

x/y of the monitor.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81134
This commit is contained in:
Christopher Michael 2012-12-17 12:55:32 +00:00 committed by Christopher Michael
parent 5016734bc9
commit 3f84da5d34
1 changed files with 5 additions and 1 deletions

View File

@ -582,7 +582,11 @@ e_smart_monitor_clone_del(Evas_Object *obj, Evas_Object *mon)
* NB: Needed in the case that we have no previous setup, we are in a clone
* situation (from X), and we were not manually moved */
if ((msd->cw == 0) || (msd->ch == 0))
e_layout_child_geometry_get(mon, &x, &y, &w, &h);
{
e_layout_child_geometry_get(mon, &x, &y, &w, &h);
msd->current.x = x;
msd->current.y = y;
}
/* restore to starting size */
e_layout_child_resize(mon, w, h);