Skip to content

Commit

Permalink
Fix RequestLaunchPosition (e2a076c)
Browse files Browse the repository at this point in the history
  • Loading branch information
DHowett committed Apr 30, 2024
1 parent 12a5c95 commit 47da9a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cascadia/TerminalApp/TerminalPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1955,7 +1955,7 @@ namespace winrt::TerminalApp::implementation
// We don't actually know our own position. So we have to ask the window
// layer for that.
const auto launchPosRequest{ winrt::make<LaunchPositionRequest>() };
RequestLaunchPosition.raise(*this, launchPosRequest);
_RequestLaunchPositionHandlers(*this, launchPosRequest);
layout.InitialPosition(launchPosRequest.Position());

ApplicationState::SharedInstance().AppendPersistedWindowLayout(layout);
Expand Down

0 comments on commit 47da9a0

Please sign in to comment.