Re: Application for finding all Windows
- From: Liam R E Quin <liam holoweb net>
- To: Udayan Singh <udayan singh tcs com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Application for finding all Windows
- Date: Wed, 21 Feb 2007 13:51:52 -0500
On Wed, 2007-21-02 at 17:11 +0530, Udayan Singh wrote:
I want to develop an application where I can get a list of all the windows
that are open in the GNOME Screen and find any activity being performed on
any other window on the GUI screen (and not only my application) e.g.
mouse click on window of another application sends me a signal.
You can see the xlsclients program (part of the core X distribution)
for getting a list of windows.
To find activity, one way is to set up a listener on a particular
port, 6161 say, and then use :6161 as your DISPLAY variable; your
listener would forward connections to the real X server.
Another way would be event interposition and synthetic events but
it is deliberate (for security reasons) that this technique
does not always work. For example, if someone types in a
password and you captured the keystrokes...
If you are trying to write a screen saver, see the code for the
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information.
Please don't post to public archived mailing lists
with this sort of stuff, even though courts have rejected
it and it is essentially meaningless gibberish. Get
yourself a mail account outside your company if they
are that clueless.
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org
] [Thread Prev