mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
Revert "Fix alt+tab issues on windows 7 (opengl + aero)"
This reverts commit a6e7b5f235fee1d3cf6c5fc023e11ef2ab5a5be4.
This commit is contained in:
parent
a6e7b5f235
commit
8d97550c2b
@ -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)
|
||||
{
|
||||
real_ShowWindow(g_ddraw.hwnd, SW_RESTORE);
|
||||
ChangeDisplaySettings(&g_ddraw.render.mode, CDS_FULLSCREEN);
|
||||
real_ShowWindow(g_ddraw.hwnd, SW_RESTORE);
|
||||
mouse_lock();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user