In windowed mode is there anyway to return if the mouse cursor is outside of the window render area?
For example in my game I replace the system pointer with a sprite and use SetRawMouseVisible(FALSE) to hide the system pointer, this has different results on different platforms when the mouse is moved outside of the window.
Linux (ubuntu) - works as intended, mouse moves outside of the window (canvas) area and the system pointer shows
MAC - system pointer remains hidden until focus from the game is lost (i.e click the mouse on the desktop)
PC - system pointer also remains hidden when within the window title bar (hard to click close, minimise) but does show when moves out of the window entirely
Ideally I'd also want to hide the sprite pointer when the system pointer is outside the window so some kind of function to check for this would be great. I looked in the docs but could not find one.