forked from enlightenment/enlightenment
only load wayland-specific modules on startup if they have been built
This commit is contained in:
parent
e4f3179731
commit
e2390bebff
|
@ -80,8 +80,12 @@ _e_comp_wl_modules_load(void)
|
||||||
{
|
{
|
||||||
const char **m, *mods[] =
|
const char **m, *mods[] =
|
||||||
{
|
{
|
||||||
|
#ifdef USE_MODULE_WL_DESKTOP_SHELL
|
||||||
"wl_desktop_shell",
|
"wl_desktop_shell",
|
||||||
|
#endif
|
||||||
|
#ifdef USE_MODULE_XWAYLAND
|
||||||
"xwayland",
|
"xwayland",
|
||||||
|
#endif
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue