From d3d4cbd61603110460ecfd01d138757518862a53 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 6 Mar 2015 15:00:52 -0500 Subject: [PATCH] use stderr messages when failing to init X compositor can't show error dialogs when we're about to exit, may as well print something useful fix T2182 --- src/bin/e_comp_x.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index 5ce0fa506..76011d8d5 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -4911,9 +4911,7 @@ _e_comp_x_setup(E_Comp *c, Ecore_X_Window root, int w, int h) res = ecore_x_screen_is_composited(c->num); if (res) { - e_util_dialog_internal(_("Compositor Error"), - _("Another compositor is already running
" - "on your display server.")); + ERR(_("Another compositor is already running on your display server.")); return EINA_FALSE; } if (!ecore_x_window_manage(root)) return EINA_FALSE; @@ -4932,10 +4930,8 @@ _e_comp_x_setup(E_Comp *c, Ecore_X_Window root, int w, int h) c->win = ecore_x_composite_render_window_enable(root); if (!c->win) { - e_util_dialog_internal(_("Compositor Error"), - _("Your display server does not support the
" - "compositor overlay window. This is needed
" - "for it to function.")); + ERR(_("Your display server does not support the compositor overlay window.\n" + "This is needed for Enlightenment to function.")); return EINA_FALSE; } c->man = e_manager_new(root, c, w, h);