SDL/src/core
Sam Lantinga db68af8032 Reduce the likelyhood that the mouse will hover over the taskbar or toast notification while in relative mode, which causes a mouse leave event.
This will still happen occasionally as the mouse is whipped around, if there is a window overlapping the game window, but it should happen less often now. This could even happen with the original code that warped the mouse every frame, so this should be a good compromise where we don't warp the mouse continously and we still keep the mouse in the safe area of the game window.

Note that notifications can be any size, so the safe area may need to be adjusted or even dynamically defined via a hint.
2021-09-24 10:49:44 -07:00
..
android Android: don't need to set the SurfaceHolder format from java code 2021-04-22 18:06:17 +02:00
freebsd Replace calls to asprintf with SDL_asprintf 2021-09-22 11:53:46 -07:00
linux Fixed some accidental uses of external C runtime functions 2021-09-22 09:06:45 -07:00
openbsd Make sure SDL file descriptors don't leak into child processes 2021-09-08 14:47:40 -07:00
os2 Updated copyright for 2021 2021-01-02 10:25:38 -08:00
unix Updated copyright for 2021 2021-01-02 10:25:38 -08:00
windows Reduce the likelyhood that the mouse will hover over the taskbar or toast notification while in relative mode, which causes a mouse leave event. 2021-09-24 10:49:44 -07:00
winrt winrt: Don't register orientation hint callback in startup code. 2021-08-03 05:07:39 -04:00