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
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel