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>
This commit is contained in:
Chris Michael 2013-08-05 08:57:57 +01:00
parent b6fe0c8ff6
commit 57a3a62981
1 changed files with 1 additions and 1 deletions

View File

@ -811,7 +811,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;