Exemplo n.º 1
0
UwacReturnCode UwacWindowSetFullscreenState(UwacWindow* window, UwacOutput* output,
        bool isFullscreen)
{
	if (window->xdg_surface)
	{
		if (isFullscreen)
		{
			xdg_surface_set_fullscreen(window->xdg_surface, output ? output->output : NULL);
		}
		else
		{
			xdg_surface_unset_fullscreen(window->xdg_surface);
		}
	}

	return UWAC_SUCCESS;
}
Exemplo n.º 2
0
void XdgShellSurfaceUnstableV5::Private::unsetFullscreen()
{
    xdg_surface_unset_fullscreen(xdgsurfacev5);
}