forked from enlightenment/enlightenment
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
This commit is contained in:
parent
691c5187c2
commit
961a56ea10
|
@ -5014,9 +5014,7 @@ _e_comp_x_setup(E_Comp *c, Ecore_X_Window root, int w, int h)
|
||||||
res = ecore_x_screen_is_composited(c->num);
|
res = ecore_x_screen_is_composited(c->num);
|
||||||
if (res)
|
if (res)
|
||||||
{
|
{
|
||||||
e_util_dialog_internal(_("Compositor Error"),
|
ERR(_("Another compositor is already running on your display server."));
|
||||||
_("Another compositor is already running<br>"
|
|
||||||
"on your display server."));
|
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
}
|
}
|
||||||
if (!ecore_x_window_manage(root)) return EINA_FALSE;
|
if (!ecore_x_window_manage(root)) return EINA_FALSE;
|
||||||
|
@ -5035,10 +5033,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);
|
c->win = ecore_x_composite_render_window_enable(root);
|
||||||
if (!c->win)
|
if (!c->win)
|
||||||
{
|
{
|
||||||
e_util_dialog_internal(_("Compositor Error"),
|
ERR(_("Your display server does not support the compositor overlay window.\n"
|
||||||
_("Your display server does not support the<br>"
|
"This is needed for Enlightenment to function."));
|
||||||
"compositor overlay window. This is needed<br>"
|
|
||||||
"for it to function."));
|
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
}
|
}
|
||||||
c->man = e_manager_new(root, c, w, h);
|
c->man = e_manager_new(root, c, w, h);
|
||||||
|
|
Loading…
Reference in New Issue