mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-26 17:39:41 -04:00
run: Never propagate DISPLAY if X socket not requested
This is just confusing.
This commit is contained in:
1 parent
4ca4f78483
commit
6d98e56c55
1 file changed
+4
@@ -2199,6 +2199,10 @@ main (int argc,
|
||||
xunsetenv ("DISPLAY");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
xunsetenv ("DISPLAY");
|
||||
}
|
||||
|
||||
/* Bind mount in the Wayland socket */
|
||||
if (wayland_socket != 0)
|
||||
|
||||
Reference in new issue
Block a user