From 57a3a629814d1e54cfc8522bf63beb1292e7b1fa Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Mon, 5 Aug 2013 08:57:57 +0100 Subject: [PATCH] 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 --- src/modules/conf_randr/e_smart_monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/conf_randr/e_smart_monitor.c b/src/modules/conf_randr/e_smart_monitor.c index bf4b5db36..3e1fa199a 100644 --- a/src/modules/conf_randr/e_smart_monitor.c +++ b/src/modules/conf_randr/e_smart_monitor.c @@ -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;