WINDOWPATH environment variable?

Samuel Thibault samuel.thibault at ens-lyon.org
Mon Dec 5 02:53:31 PST 2005


Carsten Haitzler (The Rasterman) wrote:
> now if both are actually focused - how do u know which should have
> brail terminal write access? the windowpath doesnt solve this

Of course it _does_ (I tested this case many times), because it is
recursive.

For instance, if we have an xterm A running in window 27262992 of some
:0 X server (running on VT 7), a :1 Xnest server running in window
33554448 of the :0 X server, and an xterm B running in window 44040197
of the :1 Xnest server,

- xterm A has WINDOWPATH=7 and WINDOWID=27262992
- xterm B has WINDOWPATH=7:33554448 and WINDOWID=44040197

And hence, if the :0 X focus is 27262992, xterm A is correctly selected
as the "current" window, whatever the :1 Xnest focus.

The :1 Xnest focus is used _only_ when the :0 X focus is 33554448.

Regards,
Samuel



More information about the xorg mailing list