From kwin Fri Aug 30 05:15:01 2013 From: Martin =?ISO-8859-1?Q?Gr=E4=DFlin?= Date: Fri, 30 Aug 2013 05:15:01 +0000 To: kwin Subject: Re: Re: fcntl(XConnectionNumber(KWin::display()), F_SETFD, 1) Message-Id: <62635402.BJx2ou7qcX () martin-desktop> X-MARC-Message: https://marc.info/?l=kwin&m=137784003318673 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============2033422405345481057==" --===============2033422405345481057== Content-Type: multipart/signed; boundary="nextPart5245259.1CMEscp2kE"; micalg="pgp-sha1"; protocol="application/pgp-signature" --nextPart5245259.1CMEscp2kE Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" On Thursday 29 August 2013 14:31:49 Matthias Ettrich wrote: > Setting close-on-exec, something Xlib didn't do in ancient times. No > idea if that is still necessary. Thanks for the info. Yes, I rather doubt that we still need this in a "Qt holds a xcb connection" world. Regards Martin > > Matthias > > On Thu, Aug 29, 2013 at 1:51 PM, Martin Graesslin wrote: > > Hi all, > > > > does someone know why this line is needed and what it does? > > > > fcntl(XConnectionNumber(KWin::display()), F_SETFD, 1) > > > > Found that in main.cpp and git blame is no help as it has already been > > present in the very first commit to KWin. > > > > Cheers > > Martin > > _______________________________________________ > > kwin mailing list > > kwin@kde.org > > https://mail.kde.org/mailman/listinfo/kwin > > _______________________________________________ > kwin mailing list > kwin@kde.org > https://mail.kde.org/mailman/listinfo/kwin --nextPart5245259.1CMEscp2kE 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) iEYEABECAAYFAlIgKlsACgkQqVXwidMiVrrCVwCcDzOxEoirIJ2hAL2SH9ZMKyRL X1kAoI+d+XnIpJeo6B14aeztjJwWYZ/y =jCur -----END PGP SIGNATURE----- --nextPart5245259.1CMEscp2kE-- --===============2033422405345481057== 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 --===============2033422405345481057==--