ui: Correctly make window "float" on to the foreground on windows when activating it

This commit is contained in:
WerWolv 2021-12-10 17:28:18 +01:00
parent 5759f163e3
commit 69def38152
1 changed files with 1 additions and 0 deletions

View File

@ -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: {