mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
wayland: Include the Wayland surface and shell surface in ClutterStageWayland
This commit is contained in:
parent
737c5e1045
commit
cb4b9d758f
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user