Skip to content

Commit

Permalink
I thought this would help, it didn't
Browse files Browse the repository at this point in the history
  • Loading branch information
zadjii-msft committed May 10, 2022
1 parent 3a0e107 commit 0f256dc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/cascadia/TerminalControl/ControlCore.cpp
Expand Up @@ -1210,8 +1210,11 @@ namespace winrt::Microsoft::Terminal::Control::implementation

void ControlCore::_terminalShowWindowChanged(bool showOrHide)
{
auto showWindow = winrt::make_self<implementation::ShowWindowArgs>(showOrHide);
_ShowWindowChangedHandlers(*this, *showWindow);
if (_initializedTerminal)
{
auto showWindow = winrt::make_self<implementation::ShowWindowArgs>(showOrHide);
_ShowWindowChangedHandlers(*this, *showWindow);
}
}

bool ControlCore::HasSelection() const
Expand Down

0 comments on commit 0f256dc

Please sign in to comment.