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:
Chris Michael 2013-08-05 08:57:57 +01:00 committed by Deon Thomas
parent 0d83892949
commit 7d190c4918
1 changed files with 1 additions and 1 deletions

View File

@ -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 ((sd->current.enabled) && (!sd->current.mode))
if ((sd->current.enabled) && (!sd->crtc.mode))
{
Ecore_X_Randr_Mode_Info *info;