Merge commit '26d67d9c0af0a05b0e65aa76537006862d39535b' into dev/miniksa/msgs

This commit is contained in:
Mike Griese
2022-04-13 06:17:18 -05:00
27 changed files with 231 additions and 15 deletions

View File

@@ -265,6 +265,14 @@ namespace winrt::Microsoft::Terminal::Control::implementation
const auto height = vp.Height();
_connection.Resize(height, width);
if (_OwningHwnd != 0)
{
if (auto conpty{ _connection.try_as<TerminalConnection::ConptyConnection>() })
{
conpty.ReparentWindow(_OwningHwnd);
}
}
// Override the default width and height to match the size of the swapChainPanel
_settings->InitialCols(width);
_settings->InitialRows(height);