From 52a99a2b089b5feafa795243f3ddf8d9e93a5005 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sun, 24 Jul 2022 03:38:16 +0200 Subject: Update layout on theme change. --- c/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/c/main.cpp b/c/main.cpp index d59fd1d..8ab7b7d 100644 --- a/c/main.cpp +++ b/c/main.cpp @@ -238,6 +238,7 @@ LRESULT CALLBACK WndProc(const HWND hWnd, const UINT uMsg, const WPARAM wParam, } case WM_THEMECHANGED: UpdateTheme(); + UpdateLayout(); break; case 0x02E0: /* WM_DPICHANGED */ { -- cgit v1.2.3