View Full Version : Mouse pointer positioning in X Windows
January 3rd, 2007, 12:45 AM
Hey does anyone know what functions to use to get Xwindows to position the mouse as acertain point?
I tried this in SDL but i want to be able to do this regardless of what window has the focus.
January 3rd, 2007, 01:03 AM
If you have the libx11-dev package installed (which i am assuming you do since you wanna do X programming) just do a "man XQueryPointer",
January 3rd, 2007, 03:10 PM
Thats seems to only return the current coords not set them
January 3rd, 2007, 04:37 PM
man 3 XWarpPointer
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.