Re: [dev] xid of a current window

From: Anselm R Garbe <garbeam_AT_gmail.com>
Date: Sun, 25 Mar 2012 13:42:26 +0200

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

This archive was generated by hypermail 2.3.0 : Sun Mar 25 2012 - 13:48:06 CEST