[pulseaudio-commits] r1985 - /trunk/src/modules/module-x11-publish.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Mon Oct 29 13:30:54 PDT 2007


Author: lennart
Date: Mon Oct 29 21:30:53 2007
New Revision: 1985

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1985&root=pulseaudio&view=rev
Log:
reverse server order for PULSE_SERVER x11 property, to follow order in which modules are loaded

Modified:
    trunk/src/modules/module-x11-publish.c

Modified: trunk/src/modules/module-x11-publish.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/module-x11-publish.c?rev=1985&root=pulseaudio&r1=1984&r2=1985&view=diff
==============================================================================
--- trunk/src/modules/module-x11-publish.c (original)
+++ trunk/src/modules/module-x11-publish.c Mon Oct 29 21:30:53 2007
@@ -130,7 +130,10 @@
     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 @@
     pa_xfree(u->id);
     pa_xfree(u);
 }
-




More information about the pulseaudio-commits mailing list