stage_wayland->wayland_surface = wl_surface;
stage_wayland->wayland_shell_surface = wl_shell_surface;
+ if (stage_wayland->fullscreen)
+ wl_shell_surface_set_fullscreen (stage_wayland->wayland_shell_surface);
+
return TRUE;
}
{
ClutterStageWayland *stage_wayland = CLUTTER_STAGE_WAYLAND (stage_window);
+ stage_wayland->fullscreen = fullscreen;
+
+ if (!stage_wayland->wayland_shell_surface) /* Not realized yet */
+ return;
+
if (fullscreen)
wl_shell_surface_set_fullscreen (stage_wayland->wayland_shell_surface);
else