discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=d5675fd7058608ecc9267601d21fbf1dd5475295

commit d5675fd7058608ecc9267601d21fbf1dd5475295
Author: discomfitor <michael.blumenkra...@gmail.com>
Date:   Thu Oct 17 08:35:27 2013 +0100

    don't try applying randr settings when there's no outputs, this doesn't do 
anything
---
 src/bin/e_randr.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/e_randr.c b/src/bin/e_randr.c
index 5cec7de..99653d8 100644
--- a/src/bin/e_randr.c
+++ b/src/bin/e_randr.c
@@ -495,6 +495,7 @@ _e_randr_config_restore(void)
                        /* append to the list of valid outputs */
                        valid = eina_list_append(valid, output_cfg);
                     }
+                  if (!valid) continue;
 
                   count = eina_list_count(valid);
 

-- 


Reply via email to