From: Chris Michael Date: Mon, 5 Aug 2013 07:57:57 +0000 (+0100) Subject: When we try to re-enable a monitor, check the Crtc Mode (not the smart X-Git-Tag: submit/efl/20131021.015651~197 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=57a3a629814d1e54cfc8522bf63beb1292e7b1fa;p=platform%2Fupstream%2Fenlightenment.git 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 --- diff --git a/src/modules/conf_randr/e_smart_monitor.c b/src/modules/conf_randr/e_smart_monitor.c index bf4b5db..3e1fa19 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;