summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-10-29 20:30:53 +0000
committerLennart Poettering <lennart@poettering.net>2007-10-29 20:30:53 +0000
commit43b5c65457e880a3e134f7c4adc745f690717830 (patch)
tree41bffec65575251a0da8b272b9261e4af40421ae /src/modules
parentcc883852bc3c71e2c5c04177a6e4d29af18e2045 (diff)
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
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/module-x11-publish.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/module-x11-publish.c b/src/modules/module-x11-publish.c
index e0550e207..f350126ad 100644
--- a/src/modules/module-x11-publish.c
+++ b/src/modules/module-x11-publish.c
@@ -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);
}
-