[Webkit-unassigned] [Bug 178485] [WPE][GTK] Implement PAL::SleepDisabler and PAL::SystemSleepListener

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 31 06:44:02 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=178485

Adrian Perez <aperez at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aperez at igalia.com

--- Comment #1 from Adrian Perez <aperez at igalia.com> ---
(In reply to Michael Catanzaro from comment #0)
> We should implement PAL::SleepDisabler and PAL::SystemSleepListener for GTK
> and WPE using the logind D-Bus API:
> 
> https://www.freedesktop.org/wiki/Software/systemd/inhibit/
> 
> If logind is not available, then of course it should gracefully fallback to
> doing nothing.
> 
> We should also figure out how we currently block sleep when playing video. I
> see HTMLMediaElement uses SleepDisabler, but we have not implemented it. Yet
> I'm also positive that we do somewhere inhibit screen blank when video is
> playing.

I haven't checked the current code, but I am confident that it uses the
X11 Screensaver extension. It could be that GNOME Shell under Wayland
also honors it thanks to XWayland, but this one bit is speculation on
my side :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171031/fa7c9f1f/attachment.html>


More information about the webkit-unassigned mailing list