[PATCH wayland] Revert "client: require WAYLAND_DISPLAY to be set"

Pekka Paalanen pekka.paalanen at collabora.co.uk
Mon Aug 24 02:56:38 PDT 2015


On Mon, 17 Aug 2015 16:17:57 +0300
Pekka Paalanen <ppaalanen at gmail.com> wrote:

> From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> 
> This reverts commit fb7e13021730d0a5516ecbd3712ea4235e05d24d.
> 
> Developers have been trying to reduce the number of by default required
> environment variables, and the mentioned commit is a step backwards in
> that sense. The fundamental assumption is that a user has only one main
> (Wayland) display server where all programs should connect to by
> default, and do so with an a priori known socket name.
> 
> The commit also broke various use cases in the wild, some accidentally
> due to other causes, some intentionally. This revert allows those use
> cases to continue.
> 
> The original problem of running Weston in a window in an existing GNOME
> X11 session and getting applications unintentionally launched into
> Weston can be circumvented by letting Weston use a non-default socket
> name, leaving wayland-0 unused.
> 
> Discussion:
> http://lists.freedesktop.org/archives/wayland-devel/2015-August/023927.html
> http://lists.freedesktop.org/archives/wayland-devel/2015-August/023937.html
> 
> Cc: Dima Ryazanov <dima at gmail.com>
> Cc: Giulio Camuffo <giuliocamuffo at gmail.com>
> Cc: Daniel Stone <daniel at fooishbar.org>
> Cc: Jasper St. Pierre <jstpierre at mecheye.net>
> Cc: Ryo Munakata <ryomnktml at gmail.com>
> Cc: Ray Strode <halfline at gmail.com>
> Cc: Peter Hutterer <peter.hutterer at who-t.net>
> Cc: Matthias Clasen <mclasen at redhat.com>
> Cc: Sjoerd Simons <sjoerd.simons at collabora.co.uk>
> Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> ---
>  doc/man/wl_display_connect.xml    |  5 +++--
>  doc/publican/sources/Protocol.xml |  8 ++++----
>  src/wayland-client.c              | 10 ++++------
>  3 files changed, 11 insertions(+), 12 deletions(-)

Pushed:
   c0636dd..c7dbaa1  master -> master


Thanks,
pq


More information about the wayland-devel mailing list