XQuartz: Add the launchd fd to AllSockets as well

This commit is contained in:
Jeremy Huddleston 2008-05-23 02:10:14 -07:00
parent 36db2ace75
commit 83f7252939

View File

@ -1289,15 +1289,17 @@ _X_EXPORT void ListenOnOpenFD(int fd) {
ListenTransFds[ListenTransCount] = fd;
FD_SET(fd, &WellKnownConnections);
FD_SET(fd, &AllSockets);
/* It is always local
if (!_XSERVTransIsLocal(ciptr)) {
// DefineSelf (fd);
}
*/
/* Increment the count */
ListenTransCount++;
/* This *might* be needed, but it seems to be working fine without it... */
//ResetAuthorization();
//ResetHosts(display);
#ifdef XDMCP
//XdmcpReset();
#endif
}
#endif