XQuartz: Add the launchd fd to AllSockets as well
(cherry picked from commit 83f7252939
)
This commit is contained in:
parent
77b688a730
commit
5a388b27a0
|
@ -1324,15 +1324,17 @@ _X_EXPORT void ListenOnOpenFD(int fd) {
|
||||||
ListenTransFds[ListenTransCount] = fd;
|
ListenTransFds[ListenTransCount] = fd;
|
||||||
|
|
||||||
FD_SET(fd, &WellKnownConnections);
|
FD_SET(fd, &WellKnownConnections);
|
||||||
|
FD_SET(fd, &AllSockets);
|
||||||
/* It is always local
|
|
||||||
if (!_XSERVTransIsLocal(ciptr)) {
|
|
||||||
// DefineSelf (fd);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Increment the count */
|
/* Increment the count */
|
||||||
ListenTransCount++;
|
ListenTransCount++;
|
||||||
|
|
||||||
|
/* This *might* be needed, but it seems to be working fine without it... */
|
||||||
|
//ResetAuthorization();
|
||||||
|
//ResetHosts(display);
|
||||||
|
#ifdef XDMCP
|
||||||
|
//XdmcpReset();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user