From 69def38152d2076da681e6c926f22c675c29a961 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Fri, 10 Dec 2021 17:28:18 +0100 Subject: [PATCH] ui: Correctly make window "float" on to the foreground on windows when activating it --- source/window/win_window.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/window/win_window.cpp b/source/window/win_window.cpp index ba26adf59..8d474205a 100644 --- a/source/window/win_window.cpp +++ b/source/window/win_window.cpp @@ -30,6 +30,7 @@ static LRESULT windowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { switch (uMsg) { + case WM_NCACTIVATE: case WM_NCPAINT: return DefWindowProcW(hwnd, uMsg, wParam, lParam); case WM_NCCALCSIZE: {