mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
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
This commit is contained in:
parent
166a464515
commit
e3149e6021
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user