Quote:
could you give me a example on how to use it
|
I was afraid this would happen.
:)
You need more than the example of a simple call to
XSendEvent(). If I gave you a simple call, it wouldn't be enough. If I posted a complete application using that call to move the mouse, it would be way too much information, in a way that wouldn't be usable.
Follow these steps.
- scroogle this:
- Pick a tutorial and work through it. (I'd recommend one for you, but I haven't used any of them. I cut my teeth on the O'Reilly books.)
- Do this at the command line:
- Come back here if your program doesn't work.
If you're learning Xlib from the ground up, the yellow brick road you're starting on is a long but interesting yellow brick road.
Good luck!