Get an X window ID

Carsten Haitzler (The Rasterman) raster at
Thu May 17 16:29:03 PDT 2007

On Thu, 17 May 2007 23:33:12 +0300 Daniel Stone <daniel at> babbled:

> On Thu, May 17, 2007 at 01:42:01PM -0500, Pat Kane wrote:
> > The particular problem that I used my PID_HACK to debug
> > was on a legacy AIX CDE box, which predates the NetWM
> > work.  I could not find a call like "getpeerucred()" on AIX,
> > it appears that that is a Solaris feature... but since I am
> > about to moved to Solaris 10 devel, that is another
> > good tip.
> NetWM is just all about the clients.  Any client can set a property:
> NetWM/EWMH just standardises the names.

only problem is that it depends on the client following the standard - the case
with modern toolkit based apps but not all apps. :(

> Cheers,
> Daniel

------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    raster at
Tokyo, Japan (東京 日本)

More information about the xorg mailing list