Backport: 57a3a62
:: When we try to re-enable a monitor, check the Crtc Mode (not the smart object Current mode) to determine if it is already disabled.
Signed-off-by: Chris Michael <cp.michael@samsung.com> Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
This commit is contained in:
parent
0d83892949
commit
7d190c4918
|
@ -795,7 +795,7 @@ e_smart_monitor_changes_apply(Evas_Object *obj)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* if this monitor gets re-enabled, we need to set a mode */
|
/* if this monitor gets re-enabled, we need to set a mode */
|
||||||
if ((sd->current.enabled) && (!sd->current.mode))
|
if ((sd->current.enabled) && (!sd->crtc.mode))
|
||||||
{
|
{
|
||||||
Ecore_X_Randr_Mode_Info *info;
|
Ecore_X_Randr_Mode_Info *info;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue