2011/4/5 Kristian Høgsberg <[email protected]>

> On Tue, Apr 5, 2011 at 5:59 AM, Michal Suchanek <[email protected]>
> wrote:
> > Hello,
> >
> > what is the plan for screensave/screenlocker support in wayland?
> >
> > The support in X is a fail in several ways.
>
> It sure is.  The plan for Wayland is that the lock screen is just part
> of the compositor.  There are no problems with detecting idle or other
> applications having grabs this way, and the compositor completely
> controls what goes on the screen so you don't have other applications
> raising their window over the screensaver.  There doesn't even have to
> be a screensaver window, the compositor can just paint a black screen.
>
> It is of course possible to define a plugin or an out-of-process (fork
> a special Wayland client and give it a special surface to render to,
> similar to your second option below) mechanism for rendering fun
> screensavers.
>
> Kristian
>
>
How will apps like mplayer/vlc/browsers-playing-videos tell the compositor
that they are "busy" drawing and that the lock should NOT be engaged even
though there hasn't been any keyboard/mouse activity for long stretches?  As
compared to "default" apps that just paint "im bored" over and over again,
where the idle lock should get switched on...

--friar
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to