Repository navigation
Hold off idle while any window is fullscreen - #17094
Open
stevederico wants to merge 2 commits into
Open
stevederico wants to merge 2 commits into
stevederico wants to merge 2 commits into
Conversation
Contributor
[Medium impact] The PR appears safe to merge; no actionable issue remains. SummaryAdds a shared fullscreen idle rule in
No new actionable issues were found. Live fullscreen behavior was not verified. Reviews (2) · Last reviewed commit: "Drop the fullscreen idle test" · Reviewed by Greptile |
Games launched outside Steam (Heroic, Lutris, native) had no idle inhibit rule, so the screensaver and lock fired mid-play. Inhibit idle for any window in true fullscreen; Full width (maximized) is left out. Fixes omacom#15329
stevederico
force-pushed
the
fix/15329-fullscreen-idle-inhibit
branch
from
November 2, 2026 17:03
8fad5dd to
2b5202e
Compare
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.
Fixes #15329
What was wrong
Games played fullscreen, mostly with a controller, still hit the screensaver and then the lock. The only idle inhibit for games is the per-class rule on
steam(plus GeForce NOW, Moonlight, RetroArch), so nothing covers Protonsteam_app_*windows or games from other launchers. A commenter on #15329 hit the same thing with Rocket League from Heroic.Fix
One catch-all rule in
default/hypr/windows.lua:SUPER + ALT + F, maximized, mode 1) is left out on purpose. Hyprland'sfullscreeninhibit mode alone counts maximized too, so a Full width browser would otherwise never lock.require("default.hypr.apps"), so app rules likenoidle(always) still win.Why general instead of per-launcher
Class rules only cover the launchers someone remembered to list. Heroic, Lutris, itch, native games and emulators all use different classes, and Wine/Proton class names change per game. Fullscreen is the thing they all share.
Relation to #15401
Complements it. #15401 inhibits on focus for
steam_app_*, which also covers windowed Steam games. This covers fullscreen windows from any launcher.Testing
Hyprland --verify-config(0.57.0):config ok.hyprland-default-config-test.shpasses.config-test.shfails on the PKGBUILD timesyncd check, but it fails the same way on plain quattro, so it's unrelated.