Quote:
Originally Posted by FrodeSolheim
You're right, there seems to be an issue on macOS and Windows where the cursor is not trapped properly on startup
|
macOS: Problem is fixed and there will be a new build soon. Cursor containment fixed by creating the window with input grabbed instead of doing it right after.
Windows: There seems to be a bug in SDL 2.0.16 which causes the cursor to not be properly contained no matter what I do. Fortunately, it seems to be fixed in latest git version of SDL (I tested building it just now). Will check if I can backport the fix to SDL 2.0.16 and include in a new build, or maybe just include the latest development snapshot of SDL instead.