mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse-server: request dbus name
Request the org.pulseaudio.Server dbus name. This makes gnome-shell reconnect automatically.
This commit is contained in:
parent
fc2b0b20ad
commit
12d831fc39
3 changed files with 74 additions and 1 deletions
|
|
@ -71,6 +71,7 @@
|
|||
#include "volume.c"
|
||||
#include "message.c"
|
||||
#include "manager.h"
|
||||
#include "dbus-name.c"
|
||||
|
||||
#define NAME "pulse-server"
|
||||
|
||||
|
|
@ -5270,6 +5271,8 @@ struct pw_protocol_pulse *pw_protocol_pulse_new(struct pw_context *context,
|
|||
pw_free_strv(addr);
|
||||
free(free_str);
|
||||
|
||||
dbus_request_name(context, "org.pulseaudio.Server");
|
||||
|
||||
return (struct pw_protocol_pulse*)impl;
|
||||
|
||||
error_free:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue