-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Talk to the portal when running inside a flatpak
When we detect that we are running inside a flatpak, talk to the flatpak portal D-Bus service instead of the session daemon. This is necessary because flatpak uses pid namespace isolation (see man pid_namespaces(7)) and thus the pid needs to be translated from the flatpak pid namespace to the host namespace. This translation is happening inside the GameMode xdg-desktop-portal.
- Loading branch information
Showing
1 changed file
with
29 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters