do not attempt to create x11 canvas during xwayland init

this kills the gl_drm engine
This commit is contained in:
Mike Blumenkrantz 2016-01-22 17:06:42 -05:00
parent 8f510bc228
commit 85d7c121bd
1 changed files with 5 additions and 2 deletions

View File

@ -5237,8 +5237,11 @@ _e_comp_x_setup(Ecore_X_Window root, int w, int h)
e_alert_composite_win(root, e_comp->win);
if (!e_comp_x_randr_canvas_new(e_comp->win, w, h))
ecore_job_add(_e_comp_x_add_fail_job, NULL);
if (!e_comp->ee)
{
if (!e_comp_x_randr_canvas_new(e_comp->win, w, h))
ecore_job_add(_e_comp_x_add_fail_job, NULL);
}
ecore_x_composite_redirect_subwindows(root, ECORE_X_COMPOSITE_UPDATE_MANUAL);