mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 13:24:09 +00:00
core: Use DISPLAY envvar to forward in the launch context
The meta_x11_get_display_name() will return our private connection, which is not what we want to transfer to clients being launched. https://gitlab.gnome.org/GNOME/mutter/merge_requests/945
This commit is contained in:
parent
39a8c047d1
commit
38e58b837b
@ -114,7 +114,7 @@ meta_launch_context_constructed (GObject *object)
|
|||||||
|
|
||||||
G_OBJECT_CLASS (meta_launch_context_parent_class)->constructed (object);
|
G_OBJECT_CLASS (meta_launch_context_parent_class)->constructed (object);
|
||||||
|
|
||||||
x11_display = meta_x11_get_display_name ();
|
x11_display = getenv ("DISPLAY");
|
||||||
wayland_display = getenv ("WAYLAND_DISPLAY");
|
wayland_display = getenv ("WAYLAND_DISPLAY");
|
||||||
|
|
||||||
if (x11_display)
|
if (x11_display)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user