mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
Merge branch 'x11prop' into 'master'
Revert "client-conf: Avoid loading X11 properties unless SSH_CONNECTION is set" Closes #1412 See merge request pulseaudio/pulseaudio!760
This commit is contained in:
commit
5219792d29
1 changed files with 0 additions and 8 deletions
|
|
@ -43,14 +43,6 @@ int pa_client_conf_from_x11(pa_client_conf *c) {
|
|||
|
||||
pa_assert(c);
|
||||
|
||||
/* Local connections will have configuration and X root window
|
||||
* properties match 1:1, these paths are only strictly necessary
|
||||
* for remote clients, so check for SSH_CONNECTION to make sure
|
||||
* this is a remote session with X forwarding.
|
||||
*/
|
||||
if (!getenv("SSH_CONNECTION"))
|
||||
goto finish;
|
||||
|
||||
if (!(dname = getenv("DISPLAY")))
|
||||
goto finish;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue