-
-
Notifications
You must be signed in to change notification settings - Fork 583
Add ability to inhibit idle on windows #2373
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
base: main
Are you sure you want to change the base?
Conversation
|
|
|
@HigherOrderLogic |
Yeah, |
I believe we use |
Yes, I can implement We will still need a 3rd variant as there are 4 cases:
Pehaps we can call the 3rd variant |
|
I think I used |
ac77064 to
e25a1b6
Compare
|
Thanks for the tip, |
e25a1b6 to
885241f
Compare
|
Should a way to inspect idle inhibitors (and inhibition reasons) be added as well? Could be a field in |
|
It's tricky. There's Wayland idle inhibit, which has no reason. There's the D-Bus one that has no association to a window. |
316df56 to
dad62ca
Compare
dad62ca to
fbd363d
Compare
This adds the ability to inhibit idle on a window if configured.
There are a few discussions about the topic
#742
#1855
There are 3 options:
inhibit_idle "always"- whenever this window is present.inhibit_idle "fullscreen"- whenever this window is fullscreeninhibit_idle "never"- don't inhibit on this windowOption 1 is useful, for example converting a video file that may take a couple of hours, but the window itself is not necessarily fullscreen
Option 2 is useful, for example when you are watching video, playing games with a controller and the window is fullscreen
Option 3 is to disable inhibit on this window for example if you have enabled inhibit fullscreen on all windows, but you want this window as the exception not to inhibit when fullscreen