From 5b89c5af33b53071c896e5c30f84c4b5f122e97e Mon Sep 17 00:00:00 2001 From: Dustin Howett Date: Tue, 27 Oct 2020 17:01:13 -0700 Subject: [PATCH] Update the icon when HC turns on/off --- src/cascadia/WindowsTerminal/IslandWindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cascadia/WindowsTerminal/IslandWindow.cpp b/src/cascadia/WindowsTerminal/IslandWindow.cpp index bde1d614508..f7beb5cd584 100644 --- a/src/cascadia/WindowsTerminal/IslandWindow.cpp +++ b/src/cascadia/WindowsTerminal/IslandWindow.cpp @@ -362,6 +362,9 @@ void IslandWindow::OnSize(const UINT width, const UINT height) return 0; } CATCH_LOG(); + case WM_THEMECHANGED: + UpdateWindowIconForActiveMetrics(_window.get()); + return 0; } // TODO: handle messages here...