Skip to content

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

Open
duxovni wants to merge 2 commits intoswaywm:masterfrom
duxovni:logind-idle-inhibitor-resume
Open

Make sure pending resume commands still get run regardless of logind idle inhibitors#116
duxovni wants to merge 2 commits intoswaywm:masterfrom
duxovni:logind-idle-inhibitor-resume

Conversation

@duxovni
Copy link
Copy Markdown

@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.

1 participant