Skip to content

Commit

Permalink
!!! THIS NEEDS TO BE MOVED TO THE PARENT BRANCH !!!
Browse files Browse the repository at this point in the history
  > The **low-order word** specifies whether the window is being activated or deactivated.
  • Loading branch information
zadjii-msft committed Jan 28, 2021
1 parent 3e5d927 commit 91b52d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cascadia/WindowsTerminal/IslandWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ long IslandWindow::_calculateTotalSize(const bool isWidth, const long clientSize
case WM_ACTIVATE:
{
// wparam = 0 indicates the window was deactivated
if (wparam != 0)
if (LOWORD(wparam) != 0)
{
_WindowActivatedHandlers();
}
Expand Down

0 comments on commit 91b52d4

Please sign in to comment.