Fix missing window border when use "win+arrow down" in fullscreen mode in Conhost (#11692)

Window exits out of fullscreen if it receives SC_RESTORE

Closes #10607
This commit is contained in:
Sergey 2021-11-16 19:14:54 +03:00 committed by GitHub
parent c455418659
commit 7bfaad4592
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -574,6 +574,10 @@ using namespace Microsoft::Console::Types;
{ {
Menu::s_ShowPropertiesDialog(hWnd, TRUE); Menu::s_ShowPropertiesDialog(hWnd, TRUE);
} }
else if (wParam == SC_RESTORE && _fIsInFullscreen)
{
SetIsFullscreen(false);
}
else else
{ {
goto CallDefWin; goto CallDefWin;