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
1 changed files with 4 additions and 0 deletions

View File

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