Re: [wmii] Re: layout per tag.

From: Anselm R. Garbe <>
Date: Thu, 10 Aug 2006 09:56:40 +0200

On Thu, Aug 10, 2006 at 03:40:19AM -0400, Jeremy Maitin-Shepard wrote:
> "Anselm R. Garbe" <> writes:
> In practice, I think this method, particularly if you only use programs
> that open windows reasonably fast, works quite a bit better than nothing.


> > There is no way to retrieve process info for windows in X.
> There is _NET_WM_PID, and _NET_WM_USER_TIME, both of which can be used,
> with partial effectiveness, for startup notification.
> In addition, it would be possible, with help from the X server, to get
> the PID of the process associated with the connection that created the
> window, provided that the connection is still open and is local;
> although these are quite a few restrictions, in practice they are
> satisfied in most cases.

The problem with PIDs is, that they must be local. In theory all
windows might have the same PID, because they are clients of
different hosts... however that is pretty unlikely ;)


 Anselm R. Garbe  ><><  ><><  GPG key: 0D73F361
Received on Thu Aug 10 2006 - 09:56:41 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:12:25 UTC