Cursor gets stuck in top right hand corner when switch to fullscreen - ideas?

hello all;
i’ve got a video player that allows switching from normal window to
fullscreen.

each time, i switch to fullscreen, the cursor gets stuck in the top left
hand corner - any mouse movements do not have any effect on the cursor -
its as if its relegated to operating in {0,0,0,0} space !

logic for full screen is that i determine the size of the
screen(monitor) and call SetVideoMode with the screen metrics.

also, the window that SDL renders into is my application window.

thoughts? suggestions?

regards,
sheshadri