Replace org.freedesktop.ScreenSaver with org.freedesktop.portal.Inhibit#118
Open
c-xk wants to merge 1 commit intofluttercommunity:mainfrom
Open
Replace org.freedesktop.ScreenSaver with org.freedesktop.portal.Inhibit#118c-xk wants to merge 1 commit intofluttercommunity:mainfrom
c-xk wants to merge 1 commit intofluttercommunity:mainfrom
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
org.freedesktop.portal.Inhibitis part of the XDG Desktop Portal API, which provides the modern, cross-desktop mechanism for handling session state changes. The Portal documentation explicitly targets sandboxed and Wayland applications, reflecting the current desktop architecture. In contrast,org.freedesktop.ScreenSaverwas originally designed for basic idle inhibition and exists primarily for backwards compatibility, lacking support for newer session controls.This PR enhances sandbox support on Linux desktops and improves integration with modern desktop environments.
doc:https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.Inhibit