summaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
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 e0550e20..f350126a 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);
}
-