From 7d190c49185f6e47f3ffb79f53e2662a687ddf84 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Mon, 5 Aug 2013 08:57:57 +0100 Subject: [PATCH] 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 Signed-off-by: Deon Thomas --- 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 e0373607f..76d0e1ab4 100644 --- a/src/modules/conf_randr/e_smart_monitor.c +++ b/src/modules/conf_randr/e_smart_monitor.c @@ -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;