Skip to content

Commit

Permalink
Fix alt+tab issues on windows 7 (opengl + aero)
Browse files Browse the repository at this point in the history
  • Loading branch information
FunkyFr3sh committed May 3, 2024
1 parent 57be0f0 commit a6e7b5f
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 @@ -614,8 +614,8 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
{
if (g_ddraw.renderer != d3d9_render_main || g_config.nonexclusive)
{
ChangeDisplaySettings(&g_ddraw.render.mode, CDS_FULLSCREEN);
real_ShowWindow(g_ddraw.hwnd, SW_RESTORE);
ChangeDisplaySettings(&g_ddraw.render.mode, CDS_FULLSCREEN);
mouse_lock();
}
}
Expand Down

0 comments on commit a6e7b5f

Please sign in to comment.