1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

save window position on wine

This commit is contained in:
FunkyFr3sh 2018-11-09 00:30:29 +01:00
parent a0605813a9
commit 0e3e7659cb

View File

@ -889,7 +889,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
if (ddraw->windowed)
{
if (inSizeMove)
if (inSizeMove || ddraw->wine)
{
int x = (int)(short)LOWORD(lParam);
int y = (int)(short)HIWORD(lParam);