If you set cursor grab to true, and then move your mouse to one side until you hit the edge of your screen and then keep going, mouse_position() shows much higher values that your screen's width, even if your actual mouse cursor is clamped inside the window.
I'm on X11 Debian.
Best regards
If you set cursor grab to true, and then move your mouse to one side until you hit the edge of your screen and then keep going, mouse_position() shows much higher values that your screen's width, even if your actual mouse cursor is clamped inside the window.
I'm on X11 Debian.
Best regards