mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
do not never forward SC_MAXIMIZE to the game in wine
This commit is contained in:
parent
4fdc98ef28
commit
92df1257bd
@ -576,8 +576,11 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
|
||||
}
|
||||
}
|
||||
|
||||
if (wParam == SC_MAXIMIZE && !IsWine())
|
||||
if (wParam == SC_MAXIMIZE)
|
||||
{
|
||||
if (IsWine())
|
||||
return DefWindowProc(hWnd, uMsg, wParam, lParam);
|
||||
|
||||
if (g_config.resizable)
|
||||
{
|
||||
util_toggle_maximize();
|
||||
|
Loading…
x
Reference in New Issue
Block a user