From kwin Tue Aug 20 19:51:12 2013 From: Martin Graesslin Date: Tue, 20 Aug 2013 19:51:12 +0000 To: kwin Subject: Re: Display windows via composite and without in the same time. Message-Id: <7827932.0AFjEi6xHb () martin-thinkpad> X-MARC-Message: https://marc.info/?l=kwin&m=137702817402058 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============3304028420339697475==" --===============3304028420339697475== Content-Type: multipart/signed; boundary="nextPart1641278.8gJOCQTmyd"; micalg="pgp-sha1"; protocol="application/pgp-signature" --nextPart1641278.8gJOCQTmyd Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" On Tuesday 20 August 2013 20:56:43 Andrew V. Stepanov wrote: > I have few windows, that are secure. And I want to protect from making > screenshot of them. > Any program can ask for Pixmap for redirected window. > I can protect X protocol via SeLinux, I mean CopyArea, GetImage ... > > But if window was passed to composite, than there would not be a method to > prevent catch it pixmap. and any client can do automatic compositing of a window and thus redirect it into a pixmap. I do not really understand your usecase, but I think the X protocol is too broken for such a setup - sorry. Go for Wayland with XWayland. Cheers Martin --nextPart1641278.8gJOCQTmyd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iEYEABECAAYFAlITyLcACgkQqVXwidMiVrqhKACeKWyIMO1E4UoSsOzC7pIJ7yJw t7IAnjTr0ZdSW5nK2TZYulFXOmfF7sLK =9r5b -----END PGP SIGNATURE----- --nextPart1641278.8gJOCQTmyd-- --===============3304028420339697475== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kwin mailing list kwin@kde.org https://mail.kde.org/mailman/listinfo/kwin --===============3304028420339697475==--