win32: at some point the emulator quit remembering the window position between sessions. i fixed that.

This commit is contained in:
zeromus 2009-03-25 02:40:27 +00:00
parent 62876b7be6
commit c1c5ff3b0e
1 changed files with 2 additions and 0 deletions

View File

@ -2146,6 +2146,8 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
SendMessage(hwnd, WM_PAINT, 0, 0x12345678); SendMessage(hwnd, WM_PAINT, 0, 0x12345678);
return 0; return 0;
case WM_MOVE: case WM_MOVE:
WndY = HIWORD(lParam);
WndX = LOWORD(lParam);
UpdateWndRects(hwnd); UpdateWndRects(hwnd);
return 0; return 0;
case WM_SIZING: case WM_SIZING: