1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

add another minimized check for fullscreen mode

This commit is contained in:
FunkyFr3sh 2022-10-14 23:00:23 +02:00
parent 28e15077ca
commit cd5efade5d

View File

@ -827,6 +827,9 @@ HRESULT dd_SetDisplayMode(DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwFl
real_GetWindowLongA(g_ddraw->hwnd, GWL_STYLE) | WS_MINIMIZEBOX);
}
if (IsIconic(g_ddraw->hwnd))
real_ShowWindow(g_ddraw->hwnd, SW_RESTORE);
real_SetWindowPos(
g_ddraw->hwnd,
HWND_TOPMOST,