forked from enlightenment/enlightenment
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:
parent
5016734bc9
commit
3f84da5d34
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue