You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The periodic check can be disabled for debugging purposes, for developers that manually manipulate the ClipCursor state and do not want SDL constantly stepping over their toes. There does not appear to be a way for developers to manipulate SDL_WindowData.skip_update_clipcursor so it makes more sense to customize the interval itself, and in any case it's probably more versatile since it simultaneously enables (1.)
The text was updated successfully, but these errors were encountered:
I just meant that it can be a temporary workaround before WoT fixes it on their end, by increasing the frequency of that refresh to counteract their ClipCursor calls.
Make this value customizable, where a value of zero disables the periodic refresh:
SDL/src/video/windows/SDL_windowsevents.c
Line 1729 in 376a3cd
This solves two birds with one stone:
The frequency can be increased for developers who desire it, such as with the scenario raised by @Susko3 (Cursor not constrained to window when using
SDL_SetRelativeMouseMode
and another game is running #7890) which is outside of SDL's control and so may require such a workaround.The periodic check can be disabled for debugging purposes, for developers that manually manipulate the ClipCursor state and do not want SDL constantly stepping over their toes. There does not appear to be a way for developers to manipulate
SDL_WindowData.skip_update_clipcursor
so it makes more sense to customize the interval itself, and in any case it's probably more versatile since it simultaneously enables (1.)The text was updated successfully, but these errors were encountered: