Move surface state tracking and surface interface to a separate file

Move everything surface related from meta-wayland.c to meta-wayland-surface.c

https://bugzilla.gnome.org/show_bug.cgi?id=707128
This commit is contained in:
Giovanni Campagna
2013-08-30 18:26:18 +02:00
committed by Jasper St. Pierre
parent 806d5939e3
commit cad9e14463
5 changed files with 887 additions and 789 deletions

View File

@ -87,4 +87,12 @@ typedef struct
struct wl_listener surface_destroy_listener;
} MetaWaylandSurfaceExtension;
void meta_wayland_init_shell (MetaWaylandCompositor *compositor);
MetaWaylandSurface *meta_wayland_surface_create (MetaWaylandCompositor *compositor,
struct wl_client *client,
guint32 id,
guint32 version);
void meta_wayland_surface_free (MetaWaylandSurface *surface);
#endif