Skip to content

Commit

Permalink
only use workaround for linux and not for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
FunkyFr3sh committed Oct 6, 2024
1 parent fc9bb11 commit 6d61a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wndproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 6d61a42

Please sign in to comment.