summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorColin Guthrie <pulse@colin.guthr.ie>2008-06-03 19:22:29 +0000
committerColin Guthrie <pulse@colin.guthr.ie>2008-06-03 19:22:29 +0000
commit78ae61217dbd5a3ad097917c7335a2b914734bcd (patch)
tree9674d88139ab54ff2df621f58dc68de85741935f /src
parent9a501ef28e4046b7659b9c374361617cfbaa71ee (diff)
Perfer client.conf over X11 property variables.
To explain: X11 properties are always set on the root window if pulseaudio is started during X11 login (which is the most likey time to start it). This means that any settings specified in client.conf will almost never be used. As the default client.conf is empty it makes more sense to listen to it if a user cares to bother altering it. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2494 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src')
-rw-r--r--src/pulse/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulse/context.c b/src/pulse/context.c
index 07c3f3d0..c2d07efc 100644
--- a/src/pulse/context.c
+++ b/src/pulse/context.c
@@ -177,10 +177,10 @@ pa_context *pa_context_new_with_proplist(pa_mainloop_api *mainloop, const char *
#endif
c->conf = pa_client_conf_new();
- pa_client_conf_load(c->conf, NULL);
#ifdef HAVE_X11
pa_client_conf_from_x11(c->conf, NULL);
#endif
+ pa_client_conf_load(c->conf, NULL);
pa_client_conf_env(c->conf);
if (!(c->mempool = pa_mempool_new(!c->conf->disable_shm))) {