mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +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)
|
if (g_config.resizable)
|
||||||
{
|
{
|
||||||
util_toggle_maximize();
|
util_toggle_maximize();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user