wayland: Include the Wayland surface and shell surface in ClutterStageWayland
authorRob Bradford <rob@linux.intel.com>
Fri, 9 Dec 2011 16:52:29 +0000 (16:52 +0000)
committerRob Bradford <rob@linux.intel.com>
Thu, 26 Jan 2012 14:14:13 +0000 (14:14 +0000)
clutter/wayland/clutter-stage-wayland.c
clutter/wayland/clutter-stage-wayland.h

index 17843f1..a0edfdc 100644 (file)
@@ -93,6 +93,9 @@ clutter_stage_wayland_realize (ClutterStageWindow *stage_window)
                                  &shell_surface_listener,
                                  stage_wayland);
 
+  stage_wayland->wayland_surface = wl_surface;
+  stage_wayland->wayland_shell_surface = wl_shell_surface;
+
   return TRUE;
 }
 
index 58bb431..0394307 100644 (file)
@@ -49,6 +49,9 @@ typedef struct _ClutterStageWaylandClass    ClutterStageWaylandClass;
 struct _ClutterStageWayland
 {
   ClutterStageCogl parent_instance;
+
+  struct wl_surface *wayland_surface;
+  struct wl_shell_surface *wayland_shell_surface;
 };
 
 struct _ClutterStageWaylandClass