[clutter] wayland: Include the Wayland surface and shell surface in ClutterStageWayland



commit cb4b9d758feae876aa660a9222f5d1d5233cf6f1
Author: Rob Bradford <rob linux intel com>
Date:   Fri Dec 9 16:52:29 2011 +0000

    wayland: Include the Wayland surface and shell surface in ClutterStageWayland

 clutter/wayland/clutter-stage-wayland.c |    3 +++
 clutter/wayland/clutter-stage-wayland.h |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/clutter/wayland/clutter-stage-wayland.c b/clutter/wayland/clutter-stage-wayland.c
index 17843f1..a0edfdc 100644
--- a/clutter/wayland/clutter-stage-wayland.c
+++ b/clutter/wayland/clutter-stage-wayland.c
@@ -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;
 }
 
diff --git a/clutter/wayland/clutter-stage-wayland.h b/clutter/wayland/clutter-stage-wayland.h
index 58bb431..0394307 100644
--- a/clutter/wayland/clutter-stage-wayland.h
+++ b/clutter/wayland/clutter-stage-wayland.h
@@ -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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]