When we try to re-enable a monitor, check the Crtc Mode (not the smart
authorChris Michael <cp.michael@samsung.com>
Mon, 5 Aug 2013 07:57:57 +0000 (08:57 +0100)
committerChris Michael <cp.michael@samsung.com>
Mon, 5 Aug 2013 07:57:57 +0000 (08:57 +0100)
object Current mode) to determine if it is already disabled.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/modules/conf_randr/e_smart_monitor.c

index bf4b5db..3e1fa19 100644 (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;