wayland: split headers and distribute structure definitions

Instead of having all structures in one huge headers, move them
in the appropriate place, and create one header for surface state.

https://bugzilla.gnome.org/show_bug.cgi?id=707128
This commit is contained in:
Giovanni Campagna
2013-08-30 18:03:30 +02:00
committed by Jasper St. Pierre
parent 0f0c23fbab
commit 806d5939e3
12 changed files with 315 additions and 252 deletions

View File

@@ -44,15 +44,7 @@
#include <X11/Xutil.h>
#include <cairo.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include "meta-wayland-private.h"
/* XXX: We should find a nicer approach to deal with the
* circular dependency we have with the current headers
* (meta-wayland-private.h which typedefs MetaWaylandSurface
* also includes window-private.h) */
#ifndef HAVE_META_WAYLAND_SURFACE_TYPE
typedef struct _MetaWaylandSurface MetaWaylandSurface;
#endif
#include "meta-wayland-types.h"
typedef struct _MetaWindowQueue MetaWindowQueue;