mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
allow cursor lock while playing videos
This commit is contained in:
parent
e874a7e305
commit
743907669e
@ -755,11 +755,6 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
|
||||
case WM_RBUTTONUP:
|
||||
case WM_MBUTTONUP:
|
||||
{
|
||||
if (g_ddraw->video_window_exists)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (!g_config.devmode && !g_mouse_locked)
|
||||
{
|
||||
int x = GET_X_LPARAM(lParam);
|
||||
|
Loading…
x
Reference in New Issue
Block a user