Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race condition that can lead to ENTER/LEAVE window events never f…
…iring On windows, when toggling the state of RelativeMode rapidly, there is a high chance that SDL_WINDOWEVENT_ENTER / SDL_WINDOWEVENT_LEAVE events will stop firing indefinitely. This aims to resolve that shortcoming by ensuring mouse focus state is correctly updated via WM_MOUSELEAVE events arriving via the windows event hook.
- Loading branch information