allow cursor lock while playing videos
This commit is contained in:
parent
e874a7e305
commit
743907669e
1 changed files with 0 additions and 5 deletions
|
@ -755,11 +755,6 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
|
||||||
case WM_RBUTTONUP:
|
case WM_RBUTTONUP:
|
||||||
case WM_MBUTTONUP:
|
case WM_MBUTTONUP:
|
||||||
{
|
{
|
||||||
if (g_ddraw->video_window_exists)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!g_config.devmode && !g_mouse_locked)
|
if (!g_config.devmode && !g_mouse_locked)
|
||||||
{
|
{
|
||||||
int x = GET_X_LPARAM(lParam);
|
int x = GET_X_LPARAM(lParam);
|
||||||
|
|
Loading…
Reference in a new issue