1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-16 06:18:53 +01:00

automatically lock cursor on alt+tab in borderless mode

This commit is contained in:
FunkyFr3sh 2021-06-21 01:43:58 +02:00
parent 43f68cf226
commit 3df4cdfc29

@ -505,6 +505,10 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
mouse_lock(); mouse_lock();
} }
} }
else if (g_ddraw->fullscreen)
{
mouse_lock();
}
} }
else else
{ {