[compiz] Getting the window having the focus

Christian Mertes cmertes at techfak.uni-bielefeld.de
Wed Apr 28 08:51:51 PDT 2010


Greetings!

I'm currently gathering information that helps software in assessing the
user's context. One very important such data would be the application
that the user is currently working with which mostly is roughly
equivalent to the name of the window that has the focus. Unfortunately
I'm at a loss even about which API to ask for this information. As
personally I am using compiz as a window manager, I'd be glad if anybody
here could tell me about a way to get this information out of compiz,
preferably without modifications to its code. If alternatively someone
knows about ways to do this at a higher level (freedesktop, X, ...), I'd
be happy about any hint.

Many thanks in advance and best regards,

Christian Mertes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 185 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/compiz/attachments/20100428/299578c6/attachment.pgp>


More information about the compiz mailing list