build: Fix non-wayland builds
Add the necessary preprocessor guards that were missed in commits65e9c89ed9
and6d64123849
... https://bugzilla.gnome.org/show_bug.cgi?id=780533
This commit is contained in:

committed by
Florian Müllner

parent
e146428038
commit
2f30098ab5
@ -443,11 +443,13 @@ calculate_compositor_configuration (MetaCompositorType *compositor_type,
|
||||
#endif /* HAVE_WAYLAND */
|
||||
*compositor_type = META_COMPOSITOR_TYPE_X11;
|
||||
|
||||
#ifdef HAVE_WAYLAND
|
||||
if (opt_nested)
|
||||
{
|
||||
*backend_gtype = META_TYPE_BACKEND_X11_NESTED;
|
||||
return;
|
||||
}
|
||||
#endif /* HAVE_WAYLAND */
|
||||
|
||||
#ifdef HAVE_NATIVE_BACKEND
|
||||
if (opt_display_server)
|
||||
|
Reference in New Issue
Block a user