mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
reverse server order for PULSE_SERVER x11 property, to follow order in which modules are loaded
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1985 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
cc883852bc
commit
43b5c65457
1 changed files with 3 additions and 1 deletions
|
|
@ -130,7 +130,10 @@ int pa__init(pa_module*m) {
|
|||
if (!(l = pa_property_get(m->core, PA_NATIVE_SERVER_PROPERTY_NAME)))
|
||||
goto fail;
|
||||
|
||||
l = pa_strlist_reverse(l);
|
||||
s = pa_strlist_tostring(l);
|
||||
l = pa_strlist_reverse(l);
|
||||
|
||||
pa_x11_set_prop(pa_x11_wrapper_get_display(u->x11_wrapper), "PULSE_SERVER", s);
|
||||
pa_xfree(s);
|
||||
|
||||
|
|
@ -192,4 +195,3 @@ void pa__done(pa_module*m) {
|
|||
pa_xfree(u->id);
|
||||
pa_xfree(u);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue