1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-24 17:49:52 +01:00

fix alt+enter on wine

This commit is contained in:
FunkyFr3sh 2023-07-08 04:44:38 +02:00
parent 36aa243d10
commit 6542559733

View File

@ -412,7 +412,7 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
util_update_bnet_pos(x, y); util_update_bnet_pos(x, y);
} }
if (in_size_move || g_ddraw->wine) if (in_size_move || (g_ddraw->wine && !g_ddraw->fullscreen))
{ {
if (x != -32000) if (x != -32000)
g_config.window_rect.left = x; /* -32000 = Exit/Minimize */ g_config.window_rect.left = x; /* -32000 = Exit/Minimize */