I have the same problem: if i start my Game in the window mode (mouse_mode = 2),
it starts perfectly, the Mouse is in the middle of my screen. With the mouse i move my camera.pan / tilt. But now if i move my camera with the mouse, the Windows Systemmouse comes on the border of my Game Window, and if i click the mousebutton now, the Aplication changes to that Aplication that is under the Windows Systemmouse. But the Mouse of my Game is still on the middle of my Game. How can i disconnect the Systemmouse?