Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure pending resume commands still get run regardless of logind idle inhibitors #116

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

duxovni
Copy link

@duxovni duxovni commented Jan 18, 2022

I have a service that sets up logind idle inhibitors whenever audio is playing, so my screen won't lock in the middle of a video call or a movie. If an inhibitor starts while my screen is blanked, then swayidle will destroy all of its timers, so my displays won't get turned back on when there's keyboard/mouse input. This PR ensures that if a command is currently pending resume, its timer won't get interfered with until the resume takes place.

@duxovni duxovni force-pushed the logind-idle-inhibitor-resume branch from f990c30 to 68852dc Compare January 5, 2023 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant