mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
client-conf: Move x11 and env loading to pa_client_conf_load()
This simplifies the code a bit.
This commit is contained in:
parent
067e61cb66
commit
5141188ca8
6 changed files with 58 additions and 64 deletions
|
|
@ -152,8 +152,7 @@ int main(int argc, char *argv[]) {
|
|||
char hx[PA_NATIVE_COOKIE_LENGTH*2+1];
|
||||
assert(conf);
|
||||
|
||||
pa_client_conf_load(conf);
|
||||
pa_client_conf_env(conf);
|
||||
pa_client_conf_load(conf, false, true);
|
||||
|
||||
pa_x11_del_prop(xcb, screen, "PULSE_SERVER");
|
||||
pa_x11_del_prop(xcb, screen, "PULSE_SINK");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue