Reject DTTERM Window Manipulation resizes with the current size (#20183)

This may help #20182 and #20112
Closes #19310
This commit is contained in:
Dustin L. Howett
2026-05-11 17:42:18 -05:00
committed by GitHub
parent d3f76e7acf
commit 3e3b3ad883

View File

@@ -112,6 +112,13 @@ bool Terminal::ResizeWindow(const til::CoordType width, const til::CoordType hei
return false;
}
const auto currentDimensions = _GetMutableViewport().Dimensions();
if (width == currentDimensions.width && height == currentDimensions.height)
{
return false;
}
if (_pfnWindowSizeChanged)
{
_pfnWindowSizeChanged(width, height);