Skip to content

Commit

Permalink
make sure we don't reset last_msg_pull_tick
Browse files Browse the repository at this point in the history
  • Loading branch information
FunkyFr3sh committed Sep 18, 2024
1 parent 7fe9f3f commit 66e8d16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,8 @@ HRESULT dd_SetDisplayMode(DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwFl
if (g_config.remove_menu && GetMenu(g_ddraw.hwnd))
SetMenu(g_ddraw.hwnd, NULL);

if (g_ddraw.last_msg_pull_tick &&
if (!g_config.fix_not_responding &&
g_ddraw.last_msg_pull_tick &&
g_ddraw.last_msg_pull_tick + 1000 < timeGetTime() &&
GetCurrentThreadId() == g_ddraw.gui_thread_id &&
!IsWine())
Expand Down

0 comments on commit 66e8d16

Please sign in to comment.