mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
pipewire: add DISPLAY
This commit is contained in:
parent
ee307e9c48
commit
26958eabaa
1 changed files with 4 additions and 0 deletions
|
|
@ -566,6 +566,10 @@ void pw_fill_remote_properties(struct pw_core *core, struct pw_properties *prope
|
|||
pw_properties_set(properties, "application.process.session_id",
|
||||
getenv("XDG_SESSION_ID"));
|
||||
}
|
||||
if (!pw_properties_get(properties, "window.x11.display")) {
|
||||
pw_properties_set(properties, "window.x11.display",
|
||||
getenv("DISPLAY"));
|
||||
}
|
||||
pw_properties_set(properties, PW_CORE_PROP_VERSION, core->info.version);
|
||||
pw_properties_set(properties, PW_CORE_PROP_NAME, core->info.name);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue