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