1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-24 17:49:52 +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); 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) if (x != -32000)
g_config.window_rect.left = x; /* -32000 = Exit/Minimize */ g_config.window_rect.left = x; /* -32000 = Exit/Minimize */