perry zhou
2004-09-15 23:44:05 UTC
I have no Xlib programming exprience at all, now I want to write a
linux program to send a keyboard message to another xwindow client.
Question 1). How can I find the window I want to send message to? In
Windows, there is a function called EnumWIndows which can help find
the window you have want to talk to. But How Can I find the window in
X environment? The window I want to find is mplayer window.
Question 2). Is function XSendEvent the right one to send a keyboard
message to the window after I find it?
Thanks for your time,
linux program to send a keyboard message to another xwindow client.
Question 1). How can I find the window I want to send message to? In
Windows, there is a function called EnumWIndows which can help find
the window you have want to talk to. But How Can I find the window in
X environment? The window I want to find is mplayer window.
Question 2). Is function XSendEvent the right one to send a keyboard
message to the window after I find it?
Thanks for your time,