Skip to content

Commit

Permalink
Don't set full screen to quake window (#13473)
Browse files Browse the repository at this point in the history
If launch mode is set to full screen quake window is opened in full
screen.

## Validation Steps Performed
- Set startup > launch mode > full screen
- Launch quake window
- Quake window shouldn't be opened in full screen

Closes #12894

(cherry picked from commit 589286a)
Service-Card-Id: 84116410
Service-Version: 1.15
  • Loading branch information
davidegiacometti authored and DHowett committed Jul 19, 2022
1 parent 976cddb commit 88b527f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cascadia/TerminalApp/AppLogic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ namespace winrt::TerminalApp::implementation
_root->Maximized(true);
}

if (WI_IsFlagSet(launchMode, LaunchMode::FullscreenMode))
if (WI_IsFlagSet(launchMode, LaunchMode::FullscreenMode) && !IsQuakeWindow())
{
_root->SetFullscreen(true);
}
Expand Down

0 comments on commit 88b527f

Please sign in to comment.