mirror of
https://github.com/brl/mutter.git
synced 2024-12-03 05:10:40 -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,
|
||||
stage_wayland);
|
||||
|
||||
stage_wayland->wayland_surface = wl_surface;
|
||||
stage_wayland->wayland_shell_surface = wl_shell_surface;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user