E (RandR): Skip monitor during apply if no changes were made.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77888
This commit is contained in:
Christopher Michael 2012-10-11 14:29:10 +00:00 committed by Christopher Michael
parent 79339fb431
commit 39bb5b2bbd
1 changed files with 3 additions and 1 deletions

View File

@ -107,7 +107,9 @@ _basic_apply(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
if (!crtc) continue;
changes = e_smart_monitor_changes_get(mon);
if (!(changes = e_smart_monitor_changes_get(mon)))
continue;
if (changes & E_SMART_MONITOR_CHANGED_ENABLED)
{
if (e_smart_monitor_enabled_get(mon))