mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-11 06:20:17 +01:00
XQuartz: Add the launchd fd to AllSockets as well
(cherry picked from commit 83f7252939)
This commit is contained in:
parent
a6869b03f6
commit
605a1d1067
1 changed files with 8 additions and 6 deletions
|
|
@ -1327,15 +1327,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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue