mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
XQuartz: Add the launchd fd to AllSockets as well
(cherry picked from commit 83f72529394be5871671d73b6ef4f8bc83708f8a)
This commit is contained in:
@@ -1324,15 +1324,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
|
||||
|
||||
Reference in New Issue
Block a user