summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2013-11-15 15:55:45 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2013-11-15 15:55:45 +0100
commit56fe7e4e5b6879541fd3109ca2f99bfcde2b6388 (patch)
tree404d24765245c5a529be0af8b64abc257f560b47
parent5d6960c2ced5cac15dbf1dd5a1778ad91072df45 (diff)
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
-rw-r--r--src/modules/conf_randr/e_smart_monitor.c2
1 files changed, 1 insertions, 1 deletions
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)
734 else 734 else
735 psd->changes &= ~(E_SMART_MONITOR_CHANGED_POSITION); 735 psd->changes &= ~(E_SMART_MONITOR_CHANGED_POSITION);
736 736
737 if (psd->crtc.mode != sd->current.mode) 737 if (psd->crtc.mode != psd->current.mode)
738 psd->changes |= E_SMART_MONITOR_CHANGED_MODE; 738 psd->changes |= E_SMART_MONITOR_CHANGED_MODE;
739 else 739 else
740 psd->changes &= ~(E_SMART_MONITOR_CHANGED_MODE); 740 psd->changes &= ~(E_SMART_MONITOR_CHANGED_MODE);