Making fullsceenable work on Linux
This commit is contained in:
parent
bb42c85df8
commit
a06392459e
2 changed files with 3 additions and 3 deletions
|
@ -379,7 +379,7 @@ void NativeWindowViews::SetFullScreen(bool fullscreen) {
|
|||
if (IsFullScreenable())
|
||||
window_->SetFullscreen(fullscreen);
|
||||
#else
|
||||
if (!fullscreen || IsFullScreenable()) {
|
||||
if (!fullscreen || (fullscreen && IsFullScreenable())) {
|
||||
if (IsVisible())
|
||||
window_->SetFullscreen(fullscreen);
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue