Mouse coords outside of window

Under XP, is there a way to get the coordinates of the mouse when it
moves outside the window. Currently, SDL freezes the coordinates when
the mouse moves outside the window.

I have a game where the mouse is moving the object on the screen left
and right (i need the system cursor visible), but when the system
mouse moves out side of the window, this object doesn’t follow it
anymore.

Thanks, Tankko