How to set the position of mouse cursor?

i’m working on linux.
how can i set the mouse cursor to the center of the screen?


use XWarpPointer


i solved my problem by using glutWarpPointer()

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.