mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Merge pull request #4077 from shenweip/patch-1
Don't save the console position when it is minimized.
This commit is contained in:
commit
43445eb479
@ -277,7 +277,7 @@ void WindowsHost::UpdateConsolePosition()
|
||||
{
|
||||
RECT rc;
|
||||
HWND console = GetConsoleWindow();
|
||||
if (console != NULL && GetWindowRect(console, &rc))
|
||||
if (console != NULL && GetWindowRect(console, &rc) && !IsIconic(console))
|
||||
{
|
||||
g_Config.iConsoleWindowX = rc.left;
|
||||
g_Config.iConsoleWindowY = rc.top;
|
||||
|
Loading…
Reference in New Issue
Block a user