From 39bb5b2bbdf49f446e17257a8e4c888e8887ee31 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Thu, 11 Oct 2012 14:29:10 +0000 Subject: [PATCH] E (RandR): Skip monitor during apply if no changes were made. Signed-off-by: Christopher Michael SVN revision: 77888 --- src/modules/conf_randr/e_int_config_randr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/conf_randr/e_int_config_randr.c b/src/modules/conf_randr/e_int_config_randr.c index fd16f4768..99ead685c 100644 --- a/src/modules/conf_randr/e_int_config_randr.c +++ b/src/modules/conf_randr/e_int_config_randr.c @@ -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))