diff --git a/src/wayland/meta-wayland-outputs.c b/src/wayland/meta-wayland-outputs.c index 776e6cc75..0c349ef6c 100644 --- a/src/wayland/meta-wayland-outputs.c +++ b/src/wayland/meta-wayland-outputs.c @@ -31,15 +31,6 @@ #include -typedef struct { - MetaMonitorInfo *monitor_info; - struct wl_global *global; - int x, y; - enum wl_output_transform transform; - - GList *resources; -} MetaWaylandOutput; - static void output_resource_destroy (struct wl_resource *res) { diff --git a/src/wayland/meta-wayland-outputs.h b/src/wayland/meta-wayland-outputs.h index 09851857a..8a6db271c 100644 --- a/src/wayland/meta-wayland-outputs.h +++ b/src/wayland/meta-wayland-outputs.h @@ -25,8 +25,19 @@ #ifndef META_WAYLAND_OUTPUTS_H #define META_WAYLAND_OUTPUTS_H +#include "backends/meta-monitor-manager-private.h" #include "meta-wayland-private.h" +typedef struct +{ + MetaMonitorInfo *monitor_info; + struct wl_global *global; + int x, y; + enum wl_output_transform transform; + + GList *resources; +} MetaWaylandOutput; + void meta_wayland_outputs_init (MetaWaylandCompositor *compositor); #endif /* META_WAYLAND_OUTPUTS_H */