do not never forward SC_MAXIMIZE to the game in wine
This commit is contained in:
parent
4fdc98ef28
commit
92df1257bd
1 changed files with 4 additions and 1 deletions
|
@ -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…
Reference in a new issue