summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2008-05-23 02:10:14 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2008-05-23 02:10:14 -0700
commit83f72529394be5871671d73b6ef4f8bc83708f8a (patch)
tree37bac41ee7055b72ebb921205ec2d71f15e89492
parent36db2ace75fa776bb75ad58baced70449edd4d5f (diff)
XQuartz: Add the launchd fd to AllSockets as well
-rw-r--r--os/connection.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/os/connection.c b/os/connection.c
index 0a6e0169a..8c4bcdcac 100644
--- a/os/connection.c
+++ b/os/connection.c
@@ -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