mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
fixed stuck mouse on mac osx
This commit is contained in:
parent
cd26c89c2f
commit
15fa362905
|
@ -102,12 +102,6 @@ int CInput::KeyState(int Key)
|
|||
|
||||
int CInput::Update()
|
||||
{
|
||||
if(m_InputGrabbed && !Graphics()->WindowActive())
|
||||
MouseModeAbsolute();
|
||||
|
||||
/*if(!input_grabbed && Graphics()->WindowActive())
|
||||
Input()->MouseModeRelative();*/
|
||||
|
||||
if(m_InputDispatched)
|
||||
{
|
||||
// clear and begin count on the other one
|
||||
|
|
Loading…
Reference in a new issue