run: Never propagate DISPLAY if X socket not requested

This is just confusing.
This commit is contained in:
Alexander Larsson committed 2015-09-09 16:31:07 +02:00
1 parent 4ca4f78483
commit 6d98e56c55
1 file changed
+4
+4
View File
@@ -2199,6 +2199,10 @@ main (int argc,
xunsetenv ("DISPLAY");
}
}
else
{
xunsetenv ("DISPLAY");
}
/* Bind mount in the Wayland socket */
if (wayland_socket != 0)