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

only use workaround for linux and not for macOS

This commit is contained in:
FunkyFr3sh 2024-10-06 23:43:43 +02:00
parent fc9bb11e75
commit 6d61a423ee

View File

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