[mutter/wip/carlosg/xwayland-startup-side-channel: 68/69] wayland: Pass private X connection on GNOME_SETUP_DISPLAY
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/carlosg/xwayland-startup-side-channel: 68/69] wayland: Pass private X connection on GNOME_SETUP_DISPLAY
- Date: Fri, 7 Feb 2020 12:44:04 +0000 (UTC)
commit 6228acc68431bfb460437a5ea43ae9387292e661
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Nov 14 23:51:45 2019 +0100
wayland: Pass private X connection on GNOME_SETUP_DISPLAY
This envvar will be picked up by the services spawned together with Xwayland
startup, and used instead of the regular DISPLAY meant for regular clients.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/945
src/wayland/meta-wayland.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/wayland/meta-wayland.c b/src/wayland/meta-wayland.c
index 70c3db87d..b2eab006b 100644
--- a/src/wayland/meta-wayland.c
+++ b/src/wayland/meta-wayland.c
@@ -446,6 +446,7 @@ meta_wayland_init (void)
if (meta_get_x11_display_policy () != META_DISPLAY_POLICY_DISABLED)
{
+ set_gnome_env ("GNOME_SETUP_DISPLAY", compositor->xwayland_manager.private_connection.name);
set_gnome_env ("DISPLAY", compositor->xwayland_manager.public_connection.name);
set_gnome_env ("XAUTHORITY", meta_wayland_get_xwayland_auth_file (compositor));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]