From d5675fd7058608ecc9267601d21fbf1dd5475295 Mon Sep 17 00:00:00 2001 From: discomfitor Date: Thu, 17 Oct 2013 08:35:27 +0100 Subject: [PATCH] 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 5cec7de6c..99653d8b9 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);