GLX in Xephyr --or-- is there some other way to catch a desktop in a texture?

Ashi Krishnan black.iris.dancer at
Tue Dec 9 12:31:31 PST 2008

On Mon, Dec 8, 2008 at 10:55 PM, Glynn Clements
<glynn at> wrote:
> Ashi Krishnan wrote:
>> But I want to manage all the windows of that application and *only*
>> the windows of that application. And, as far as I'm aware, there's no
>> reliable way of figuring out the pid of the process that owns a given
>> window. Does _NET_WM_PID work reliably enough to be useful?
> If you don't actually need to know the PID, but just want to be able
> to distinguish one client from another, you can identify the client
> from the Window's XID, e.g. using XResQueryClients().

Oh, that's useful, thanks. (Unfortunately, I think I do need to filter
by PID, since I'm going to launch some arbitrary app and then try to
capture the windows it creates. But that's still useful.)

~ v

More information about the xorg mailing list