From cb4b9d758feae876aa660a9222f5d1d5233cf6f1 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Fri, 9 Dec 2011 16:52:29 +0000 Subject: [PATCH] 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(+) diff --git a/clutter/wayland/clutter-stage-wayland.c b/clutter/wayland/clutter-stage-wayland.c index 17843f124..a0edfdccf 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 58bb431f7..0394307f1 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