On 25 March 2012 13:37, Swiatoslaw Gal <swiatoslaw.gal_AT_univie.ac.at> wrote:
> How can I get a xid of a focused window? Like with xprop, but
> without user interaction. Say, I want to write an program
> that would log the xid of a currently focused window every second.
http://tronche.com/gui/x/xlib/input/XGetInputFocus.html
Cheers,
Anselm
Received on Sun Mar 25 2012 - 13:42:26 CEST