[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Re: Wayland protocols
From:       Martin =?ISO-8859-1?Q?Gr=E4=DFlin?= <mgraesslin () kde ! org>
Date:       2014-08-19 9:28:29
Message-ID: 8005412.LyRZ7zoz17 () martin-desktop
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Tuesday 19 August 2014 11:23:11 you wrote:
> On Tuesday 19 August 2014 11:03:48 Martin Gräßlin wrote:
> > On Tuesday 19 August 2014 10:51:43 Pier Luigi Fiorini wrote:
> > > *) ksmserver is a Wayland client that binds kf5_shell
> > > *) ksmserver is asked to lock (via loginctl, plasmoid or context menu)
> > > *) ksmserver calls the kf5_shell.lock request
> > > *) kwin hides all surfaces, prevent input and maybe turn the screen off,
> > > this is all independent from the greeter being running or not
> > > *) kwin emits the prepare_lock_surfaces and ksmserver picks it up
> > > *) ksmserver runs the greeter which will create the surfaces
> > > *) ksld use set_surface_role to set the lock role on those surfaces
> > 
> > how does ksld know about the surfaces? They are created by the greeter
> > process. If that requires to pass surface information between ksmserver
> > and
> > the greeter I'm wondering what we gain compared to letting KWin handle it
> > directly.
> 
> I mistaken ksld with the greeter.

ok, so it's
*) greeter use set_surface_role to set the lock role on those surfaces

but then: how does kwin know that this is the greeter which is allowed to use 
it and not some nsa-greeter which wants to bypass the greeter?

Cheers
Martin
["signature.asc" (application/pgp-signature)]

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic