Stop quake mode from forcing focus mode (#10150)

Now it just launches in focus mode, but you can _leave_ focus mode just fine.

I can't iterate on this more today - VS decided that it _needed_ an update ☹️ 

* [x] I work here
* [x] Is polish
* [x] @cinnamon-msft: We'll need to update the docs to reflect this.

see also: #8888, comments in that thread
This commit is contained in:
Mike Griese 2021-05-21 16:37:02 -05:00 committed by GitHub
parent ee86799f85
commit d6288fae99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2071,9 +2071,7 @@ namespace winrt::TerminalApp::implementation
void TerminalPage::_SetFocusMode(const bool inFocusMode)
{
// If we're the quake window, we must always be in focus mode.
// Prevent leaving focus mode here.
const bool newInFocusMode = inFocusMode || IsQuakeWindow();
const bool newInFocusMode = inFocusMode;
if (newInFocusMode != FocusMode())
{
_isInFocusMode = newInFocusMode;