only save window size if resized by user
This commit is contained in:
parent
99c25fee73
commit
50144f08c5
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
|
|||
g_config.window_rect.right = LOWORD(lParam);
|
||||
g_config.window_rect.bottom = HIWORD(lParam);
|
||||
}
|
||||
else if (!in_size_move && !g_config.fullscreen && g_config.wine_allow_resize && IsLinux())
|
||||
else if (!in_size_move && g_ddraw.render.thread && !g_config.fullscreen && g_config.wine_allow_resize && IsLinux())
|
||||
{
|
||||
g_config.window_rect.right = LOWORD(lParam);
|
||||
g_config.window_rect.bottom = HIWORD(lParam);
|
||||
|
|
Loading…
Reference in a new issue