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

https://gitlab.gnome.org/GNOME/mutter/-/issues/1074

(cherry picked from commit d26dc4ae44)
This commit is contained in:
Laurent Bigonville 2020-04-23 11:14:05 +02:00 committed by Robert Mader
parent adbe09afc3
commit dbecb93233

View File

@ -63,7 +63,6 @@
#include "clutter/clutter-mutter.h"
#include "cogl/cogl.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-group-private.h"
#include "core/display-private.h"
@ -82,6 +81,7 @@
#include "x11/meta-x11-display-private.h"
#ifdef HAVE_WAYLAND
#include "compositor/meta-window-actor-wayland.h"
#include "wayland/meta-wayland-private.h"
#endif