From: Matt Ficken <mattficken@ma...> - 2003-12-08 22:17:41
I need to send fake keypress and mouse click events to clients of an
X server I'm running in order to control them as part of a python
script I'm writing. I've been able to use PLWM as my window manager
and then send fake mouse click events to clients as long as they are
under the pointer (meaning they have the focus?). If the client is
not under the pointer, it doesn't work. I can't send any fake
keypress events. I think this may have something to do with my
inability to control which client has focus.
How do I set focus? I know PLWM has a function to move focus to the
first client in a certain direction, but that doesn't give me the
control I need. I need to set exactly which client has focus.
How do I send fake keypress events?
Also, how can I move the pointer to a location on the screen?
Sign-up for Ads Free at Mail.com
Get latest updates about Open Source Projects, Conferences and News.