From c241034d1cd3e16d576bab296ef182e6fef40ebd Mon Sep 17 00:00:00 2001 From: Leif Middelschulte Date: Fri, 16 Dec 2011 14:19:33 +0000 Subject: [PATCH] Refresh e_randr info, before showing dialog. SVN revision: 66289 --- src/modules/conf_randr/e_int_config_randr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/conf_randr/e_int_config_randr.c b/src/modules/conf_randr/e_int_config_randr.c index 3b3f64bc1..c7108b5ab 100644 --- a/src/modules/conf_randr/e_int_config_randr.c +++ b/src/modules/conf_randr/e_int_config_randr.c @@ -115,6 +115,7 @@ create_data(E_Config_Dialog *cfd) // Prove we got all things to get going EINA_SAFETY_ON_TRUE_RETURN_VAL(!e_randr_screen_info || (e_randr_screen_info->randr_version < ECORE_X_RANDR_1_2), NULL); + EINA_SAFETY_ON_FALSE_RETURN_VAL(e_randr_screen_info_refresh(), NULL); EINA_SAFETY_ON_TRUE_RETURN_VAL(!(e_config_runtime_info = E_NEW(E_Config_Dialog_Data, 1)), NULL); e_config_runtime_info->cfd = cfd; @@ -122,6 +123,7 @@ create_data(E_Config_Dialog *cfd) //Compose theme's file path and name snprintf(_theme_file_path, sizeof(_theme_file_path), "%s%s", conf_randr_module->dir, THEME_FILENAME); + e_config_runtime_info->manager = e_manager_current_get(); EINA_LIST_FOREACH(e_randr_screen_info->rrvd_info.randr_info_12->outputs, iter, output_info) {