Release mouse relative mode when focus changes during mouse tracking
This commit is contained in:
@@ -863,6 +863,7 @@ void SDLWindow::EndTrackingMouse()
|
||||
}
|
||||
|
||||
Input::Mouse->SetRelativeMode(false, this);
|
||||
_restoreRelativeMode = false;
|
||||
}
|
||||
|
||||
void SDLWindow::StartClippingCursor(const Rectangle& bounds)
|
||||
|
||||
Reference in New Issue
Block a user