compositor: Only include meta-window-actor-wayland.h when building with wayland

https://gitlab.gnome.org/GNOME/mutter/-/issues/1074
This commit is contained in:
Laurent Bigonville 2020-04-23 11:14:05 +02:00 committed by Robert Mader
parent bd45a00fa3
commit d26dc4ae44

View File

@ -64,7 +64,6 @@
#include "cogl/cogl.h" #include "cogl/cogl.h"
#include "compositor/meta-later-private.h" #include "compositor/meta-later-private.h"
#include "compositor/meta-window-actor-x11.h" #include "compositor/meta-window-actor-x11.h"
#include "compositor/meta-window-actor-wayland.h"
#include "compositor/meta-window-actor-private.h" #include "compositor/meta-window-actor-private.h"
#include "compositor/meta-window-group-private.h" #include "compositor/meta-window-group-private.h"
#include "core/display-private.h" #include "core/display-private.h"
@ -83,6 +82,7 @@
#include "x11/meta-x11-display-private.h" #include "x11/meta-x11-display-private.h"
#ifdef HAVE_WAYLAND #ifdef HAVE_WAYLAND
#include "compositor/meta-window-actor-wayland.h"
#include "wayland/meta-wayland-private.h" #include "wayland/meta-wayland-private.h"
#endif #endif