win32: at some point the emulator quit remembering the window position between sessions. i fixed that.
This commit is contained in:
parent
62876b7be6
commit
c1c5ff3b0e
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue