add position check to make sure we'll only resize on first start
This commit is contained in:
parent
3a52a07ba6
commit
9d4f3b148b
1 changed files with 1 additions and 1 deletions
2
src/dd.c
2
src/dd.c
|
@ -1213,7 +1213,7 @@ HRESULT dd_SetCooperativeLevel(HWND hwnd, DWORD dwFlags)
|
|||
g_config.devmode = TRUE;
|
||||
|
||||
/*
|
||||
if (!g_config.window_rect.right)
|
||||
if (!g_config.window_rect.right && g_config.window_rect.left == -32000)
|
||||
{
|
||||
if (real_GetSystemMetrics(SM_CYSCREEN) >= 2160)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue