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:
parent
ee86799f85
commit
d6288fae99
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue