mirror of
https://github.com/microsoft/terminal.git
synced 2026-02-08 13:49:31 +00:00
fixes #9053
This commit is contained in:
@@ -706,8 +706,6 @@ namespace winrt::TerminalApp::implementation
|
||||
// after the frame is displayed before the XAML content first draws,
|
||||
// so that didn't actually resolve any issues.
|
||||
|
||||
// Capture calling context.
|
||||
winrt::apartment_context ui_thread;
|
||||
auto weak{ get_weak() };
|
||||
|
||||
// Switch to the BG thread -
|
||||
|
||||
@@ -1577,7 +1577,7 @@ void AppHost::_AppInitializedHandler(const winrt::Windows::Foundation::IInspecta
|
||||
LaunchMode launchMode{};
|
||||
_initialResizeAndRepositionWindow(_window->GetHandle(), _proposedRect, launchMode);
|
||||
|
||||
int nCmdShow = SW_SHOW;
|
||||
int nCmdShow = SW_SHOWDEFAULT;
|
||||
if (WI_IsFlagSet(launchMode, LaunchMode::MaximizedMode))
|
||||
{
|
||||
nCmdShow = SW_MAXIMIZE;
|
||||
|
||||
Reference in New Issue
Block a user