From 56fe7e4e5b6879541fd3109ca2f99bfcde2b6388 Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Fri, 15 Nov 2013 15:55:45 +0100 Subject: [PATCH] conf_randr: Compare mode against correct smart data. This copy and paste bug compared the sd mode against the parent sd mode. Classical c&p bug when having two blocks of code so similar. CID: 1039954 --- 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 977608b19..4ab07ee28 100644 --- a/src/modules/conf_randr/e_smart_monitor.c +++ b/src/modules/conf_randr/e_smart_monitor.c @@ -734,7 +734,7 @@ e_smart_monitor_clone_set(Evas_Object *obj, Evas_Object *parent) else psd->changes &= ~(E_SMART_MONITOR_CHANGED_POSITION); - if (psd->crtc.mode != sd->current.mode) + if (psd->crtc.mode != psd->current.mode) psd->changes |= E_SMART_MONITOR_CHANGED_MODE; else psd->changes &= ~(E_SMART_MONITOR_CHANGED_MODE);