From 45b4d9f36f159a6c06da39754c98296795f7ad14 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Wed, 29 May 2013 12:50:17 +0100 Subject: [PATCH] Move xinerama init until After randr has setup the screens. NB: Old Man, THIS should fix your black screen problem ;) Signed-off-by: Chris Michael --- src/bin/e_main.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/bin/e_main.c b/src/bin/e_main.c index 1a71aa7..6d06f16 100644 --- a/src/bin/e_main.c +++ b/src/bin/e_main.c @@ -476,15 +476,6 @@ main(int argc, char **argv) TS("E_Alert Init Done"); _e_main_shutdown_push(e_alert_shutdown); - TS("E_Xinerama Init"); - if (!e_xinerama_init()) - { - e_error_message_show(_("Enlightenment cannot initialize E_Xinerama!\n")); - _e_main_shutdown(-1); - } - TS("E_Xinerama Init Done"); - _e_main_shutdown_push(e_xinerama_shutdown); - TS("E_Hints Init"); e_hints_init(); TS("E_Hints Init Done"); @@ -535,6 +526,15 @@ main(int argc, char **argv) _e_main_shutdown_push(e_randr_shutdown); TS("E_Randr Init Done"); + TS("E_Xinerama Init"); + if (!e_xinerama_init()) + { + e_error_message_show(_("Enlightenment cannot initialize E_Xinerama!\n")); + _e_main_shutdown(-1); + } + TS("E_Xinerama Init Done"); + _e_main_shutdown_push(e_xinerama_shutdown); + TS("E_Env Init"); if (!e_env_init()) { -- 2.7.4