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.

(cherry picked from commit 91b52d4)
  • Loading branch information
zadjii-msft committed Feb 2, 2021
1 parent a62d53f commit 147b187
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 @@ -373,7 +373,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

1 comment on commit 147b187

@github-actions

This comment was marked as resolved.

Please sign in to comment.