I'm porting a library from Windows to Linux. On Windows, I can use GetCursorPos() and SetCursorPos() to get and set the cursor position.
Is there any equivalent on Linux? Preferably, i'm looking for a standard-ish function that would work on multiple desktop environments, without dependance on a library like GTK or Qt.