Re: Default suspend on live images?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Mar 9, 2018 at 5:33 AM, Bastien Nocera <bnocera@xxxxxxxxxx> wrote:
It's up to the application to inhibit idleness. See gtk_application_inhibit().

For technical reasons, WebKit cannot use GtkApplication. We do take an idle inhibitor using the freedesktop ScreenSaver interface, but there is no explicit way to inhibit suspend that way. So we only inhibit idle (screen lock) during video playback, not suspend. That seemed good enough to me, because suspend did not previously happen automatically. Changing this would be hard. See [1].

It would be helpful if gnome-session, or mutter, or whatever component is responsible for managing inhibitors, would please not suspend the computer when an idle inhibitor is taken via the ScreenSaver interface, since that interface does not provide any explicit way to avoid suspend. Maybe it already works this way, but I'm not confident of that. Do you know about this?

Michael

[1] https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/PAL/pal/system/glib/SleepDisablerGLib.cpp
_______________________________________________
desktop mailing list -- desktop@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to desktop-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora KDE]     [Fedora Announce]     [Fedora Docs]     [Fedora Config]     [PAM]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux