wayland: Include the Wayland surface and shell surface in ClutterStageWayland

This commit is contained in:
Rob Bradford 2011-12-09 16:52:29 +00:00
parent 737c5e1045
commit cb4b9d758f
2 changed files with 6 additions and 0 deletions

View File

@ -93,6 +93,9 @@ clutter_stage_wayland_realize (ClutterStageWindow *stage_window)
&shell_surface_listener, &shell_surface_listener,
stage_wayland); stage_wayland);
stage_wayland->wayland_surface = wl_surface;
stage_wayland->wayland_shell_surface = wl_shell_surface;
return TRUE; return TRUE;
} }

View File

@ -49,6 +49,9 @@ typedef struct _ClutterStageWaylandClass ClutterStageWaylandClass;
struct _ClutterStageWayland struct _ClutterStageWayland
{ {
ClutterStageCogl parent_instance; ClutterStageCogl parent_instance;
struct wl_surface *wayland_surface;
struct wl_shell_surface *wayland_shell_surface;
}; };
struct _ClutterStageWaylandClass struct _ClutterStageWaylandClass