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; }
void XdgShellSurfaceUnstableV5::Private::unsetFullscreen() { xdg_surface_unset_fullscreen(xdgsurfacev5); }