From 21cbcc1a8a5900af9e820b10d5c1b28fc803f947 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 13 Jan 2010 22:15:52 +0100 Subject: client: introduce auto-connect-display= following the scheme of auto-connect-localhost= Just connecting to a PA server just because X11's $DISPLAY is set might be a security hole. --- src/pulse/client-conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pulse/client-conf.h') diff --git a/src/pulse/client-conf.h b/src/pulse/client-conf.h index 3bca8fdd..f281f4eb 100644 --- a/src/pulse/client-conf.h +++ b/src/pulse/client-conf.h @@ -29,7 +29,7 @@ typedef struct pa_client_conf { char *daemon_binary, *extra_arguments, *default_sink, *default_source, *default_server, *default_dbus_server, *cookie_file; - pa_bool_t autospawn, disable_shm, auto_connect_localhost; + pa_bool_t autospawn, disable_shm, auto_connect_localhost, auto_connect_display; uint8_t cookie[PA_NATIVE_COOKIE_LENGTH]; pa_bool_t cookie_valid; /* non-zero, when cookie is valid */ size_t shm_size; -- cgit