Skip to content

Commit

Permalink
Stop quake mode from forcing focus mode (#10150)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
zadjii-msft committed May 21, 2021
1 parent ee86799 commit d6288fa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/cascadia/TerminalApp/TerminalPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d6288fa

Please sign in to comment.