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
This commit is contained in:
Stefan Schmidt 2013-11-15 15:55:45 +01:00
parent 5d6960c2ce
commit 56fe7e4e5b
1 changed files with 1 additions and 1 deletions

View File

@ -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);