diff --git a/base/vulkanexamplebase.cpp b/base/vulkanexamplebase.cpp index e8842433..460d68af 100644 --- a/base/vulkanexamplebase.cpp +++ b/base/vulkanexamplebase.cpp @@ -2472,7 +2472,13 @@ struct xdg_surface *VulkanExampleBase::setupWindow() std::string windowTitle = getWindowTitle(); xdg_toplevel_set_title(xdg_toplevel, windowTitle.c_str()); + if (settings.fullscreen) + { + xdg_toplevel_set_fullscreen(xdg_toplevel, NULL); + } wl_surface_commit(surface); + wl_display_flush(display); + return xdg_surface; }