automatically lock cursor on alt+tab in borderless mode
This commit is contained in:
parent
43f68cf226
commit
3df4cdfc29
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue