]> code.delx.au - pulseaudio/commitdiff
x11: Make pax11publish -r remove PULSE_SESSION_ID
authorColin Guthrie <cguthrie@mandriva.org>
Tue, 1 Mar 2011 18:15:28 +0000 (18:15 +0000)
committerColin Guthrie <cguthrie@mandriva.org>
Tue, 1 Mar 2011 18:15:28 +0000 (18:15 +0000)
This is not set by pax11publish, but module-x11-publish does so this tool
should tidy that up. It is only removed when passing -r and is
ignored when actually setting up it's own properties from the conf
files/guesswork.

src/utils/pax11publish.c

index e155888c3980730b3f64bf34cdbc28abf1c33fce..a6f058a1e530113875fd8a26d344c305bc0848a8 100644 (file)
@@ -209,6 +209,7 @@ int main(int argc, char *argv[]) {
             pa_x11_del_prop(xcb, screen, "PULSE_SOURCE");
             pa_x11_del_prop(xcb, screen, "PULSE_ID");
             pa_x11_del_prop(xcb, screen, "PULSE_COOKIE");
+            pa_x11_del_prop(xcb, screen, "PULSE_SESSION_ID");
             break;
 
         default: