Bug 8013 - xinit should set WINDOWPATH
Summary: xinit should set WINDOWPATH
Alias: None
Product: xorg
Classification: Unclassified
Component: App/xinit (show other bugs)
Version: 7.1 (2006.05)
Hardware: All All
: high enhancement
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
Depends on:
Reported: 2006-08-25 16:47 UTC by Samuel Thibault
Modified: 2011-10-15 16:37 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

have xinit set the WINDOWPATH environment variable (3.47 KB, patch)
2006-08-25 16:48 UTC, Samuel Thibault
no flags Details | Splinter Review

Description Samuel Thibault 2006-08-25 16:47:19 UTC

As discussed some time ago on xorg@freedesktop.org (starting from
http://lists.freedesktop.org/archives/xorg/2005-December/011434.html, and agreed
on on http://lists.freedesktop.org/archives/xorg/2005-December/011470.html ),
braille accessibility of X applications and text applications running in xterms
both need a WINDOWPATH environment variable that contains the "window path"
of the X server, i.e. the list of VT or Xnest windows that lead to the actual
session. It might be useful for other uses too. 

The attached patch implements this in xinit.

Comment 1 Samuel Thibault 2006-08-25 16:48:08 UTC
Created attachment 6701 [details] [review]
have xinit set the WINDOWPATH environment variable
Comment 2 Samuel Thibault 2006-12-12 01:49:53 UTC
Could this be committed some time?

Sorry to put pressure on this, but this was discussed and agreed on almost a year ago, and in the meanwhile we have to tell people to do ugly hacks for having our apps working...
Comment 3 Daniel Stone 2007-02-27 01:33:20 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 4 Alan Coopersmith 2007-05-21 16:59:36 UTC
Committed to git master for xinit-1.0.4 release:

commit fa78528b44d4c1c50594359e17114208834a84fd
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Fri Aug 25 16:48:00 2006 -0800

    X.Org Bugzilla #8013: xinit should set WINDOWPATH
    X.Org Bugzilla #8013: <https://bugs.freedesktop.org/show_bug.cgi?id=8013>
    Patch #6701: <https://bugs.freedesktop.org/attachment.cgi?id=6701>

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.