forked from enlightenment/enlightenment
When we initially create the monitors, also set the original cloned
value. Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 82326
This commit is contained in:
parent
12a420c9ab
commit
4fadc7bf7f
|
@ -324,8 +324,11 @@ e_smart_randr_monitors_create(Evas_Object *obj)
|
||||||
e_layout_child_move(mon, cx, cy);
|
e_layout_child_move(mon, cx, cy);
|
||||||
|
|
||||||
/* if we are cloned, then tell randr */
|
/* if we are cloned, then tell randr */
|
||||||
if (pmon)
|
if (pmon)
|
||||||
e_smart_monitor_clone_add(pmon, mon);
|
{
|
||||||
|
e_smart_monitor_cloned_set(mon, EINA_TRUE);
|
||||||
|
e_smart_monitor_clone_add(pmon, mon);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -397,8 +400,7 @@ e_smart_randr_monitors_create(Evas_Object *obj)
|
||||||
e_layout_child_move(mon, cx, cy);
|
e_layout_child_move(mon, cx, cy);
|
||||||
|
|
||||||
/* if we are cloned, then tell randr */
|
/* if we are cloned, then tell randr */
|
||||||
if (pmon)
|
if (pmon) e_smart_monitor_clone_add(pmon, mon);
|
||||||
e_smart_monitor_clone_add(pmon, mon);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -675,6 +677,7 @@ _e_smart_randr_changed_set(Evas_Object *obj)
|
||||||
{
|
{
|
||||||
E_Smart_Monitor_Changes changes = E_SMART_MONITOR_CHANGED_NONE;
|
E_Smart_Monitor_Changes changes = E_SMART_MONITOR_CHANGED_NONE;
|
||||||
|
|
||||||
|
/* determine if this monitor changed */
|
||||||
changes = e_smart_monitor_changes_get(mon);
|
changes = e_smart_monitor_changes_get(mon);
|
||||||
if (changes > E_SMART_MONITOR_CHANGED_NONE)
|
if (changes > E_SMART_MONITOR_CHANGED_NONE)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue