mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
auth: move cookie file to ~/.config/pulse/cookie
In order to follow XDG basedir, read the cookie file from ~/.config/pulse/cookie if possible, but fall back to the old file. if it doesn't exist.
This commit is contained in:
parent
9ab510a692
commit
87ae830705
14 changed files with 57 additions and 32 deletions
|
|
@ -177,7 +177,8 @@ enum {
|
|||
};
|
||||
|
||||
#define PA_NATIVE_COOKIE_LENGTH 256
|
||||
#define PA_NATIVE_COOKIE_FILE ".pulse-cookie"
|
||||
#define PA_NATIVE_COOKIE_FILE ".config/pulse/cookie"
|
||||
#define PA_NATIVE_COOKIE_FILE_FALLBACK ".pulse-cookie"
|
||||
|
||||
#define PA_NATIVE_DEFAULT_PORT 4713
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue