only load wayland-specific modules on startup if they have been built

This commit is contained in:
Mike Blumenkrantz 2016-05-10 14:18:09 -04:00
parent e4f3179731
commit e2390bebff
1 changed files with 4 additions and 0 deletions

View File

@ -80,8 +80,12 @@ _e_comp_wl_modules_load(void)
{
const char **m, *mods[] =
{
#ifdef USE_MODULE_WL_DESKTOP_SHELL
"wl_desktop_shell",
#endif
#ifdef USE_MODULE_XWAYLAND
"xwayland",
#endif
NULL
};