wayland fullscreen (#1147)
* wayland fullscreen attempt 1 at adding fullscreen * wayland test 2 --------- Co-authored-by: jamie scott <jamiescott1995@outlook.com>
This commit is contained in:
parent
8cb518ba54
commit
09dbef8339
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue