forked from enlightenment/enlightenment
@bugfix: Check return of e_comp_wl_init and initialize ecore_wl library
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
3d28a91c6b
commit
645cb48dd5
|
@ -44,11 +44,14 @@ e_modapi_init(E_Module *m)
|
||||||
e_xinerama_screens_set(eina_list_append(NULL, screen));
|
e_xinerama_screens_set(eina_list_append(NULL, screen));
|
||||||
}
|
}
|
||||||
comp->man = e_manager_new(0, comp, SCREEN_WIDTH, SCREEN_HEIGHT);
|
comp->man = e_manager_new(0, comp, SCREEN_WIDTH, SCREEN_HEIGHT);
|
||||||
e_comp_wl_init();
|
if (!e_comp_wl_init()) return NULL;
|
||||||
e_comp_canvas_init(comp);
|
e_comp_canvas_init(comp);
|
||||||
e_comp_canvas_fake_layers_init(comp);
|
e_comp_canvas_fake_layers_init(comp);
|
||||||
comp->pointer = e_pointer_canvas_new(comp->evas, 1);
|
comp->pointer = e_pointer_canvas_new(comp->evas, 1);
|
||||||
|
|
||||||
|
ecore_wl_init(NULL);
|
||||||
|
ecore_wl_server_mode_set(1);
|
||||||
|
|
||||||
return m;
|
return m;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue