--nextPart5055309.BPc0AjTPd4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" On Wednesday 12 October 2011 19:38:11 Oswald Buddenhagen wrote: > On Wed, Oct 12, 2011 at 04:47:54PM +0200, Dario Freddi wrote: > > 2011/10/12 Martin Gr=C3=A4=C3=9Flin : > > > ok I have been thinking about it and have a new proposal: > > > * writing a kded module to only handle the screen locking (grab k= eyboard > > > and mouse) > >=20 > > TBH, if you really care about not making the thing crash, I would n= ot > > put it into KDED, which has a lot of things which are not under you= r > > control potentially crashy, but into a separate running daemon. >=20 > my first thought, too. :} ok, so a separate running daemon it shall be >=20 > > > * having greeter in a separate process, so that the kded module c= an > > > restart > > > the greeter in case it crashes > > > * use xproperty on all greeter windows to inform the compositor w= hich > > > windows belong to it >=20 > i'm assuming you are including the locker/saver window in "greeter > windows"? Yes, everything "visual" in the separate process. >=20 > > > * use a kwin effect to additionally ensure that the screen is > > > blanked and nothing gets above the greeter windows >=20 > that seems superfluous. the presence of the locker window simultaneou= sly > indicates "locker mode" and provides "blanking content" (rendered by = an > out-of-process hack and blanked in-process as a fallback). when that = goes > away unexpectedly, all bets are off anyway. See Thomas mail: with compositing enabled some xscreensavers fail to bl= ank the=20 screen. The main reason for the effect would be to fade in/out the lock= er, but=20 when we have it, we can also use it to fix this annoying bug only prese= nt with=20 compositing. Cheers Martin --nextPart5055309.BPc0AjTPd4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAk6WoL8ACgkQqVXwidMiVrr05wCbB2pxSdpIFbCFtcF3s2coAHxH fr4An0FLeccZJhoqr4sUkB+FC5GpLfNh =vm2B -----END PGP SIGNATURE----- --nextPart5055309.BPc0AjTPd4--