xserver: Branch 'xorg-server-1.4-apple' - 3 commits
Jeremy Huddleston
jeremyhu at kemper.freedesktop.org
Fri May 23 02:28:19 PDT 2008
configure.ac | 2 +-
hw/xquartz/mach-startup/bundle-main.c | 6 ++++--
os/connection.c | 14 ++++++++------
3 files changed, 13 insertions(+), 9 deletions(-)
New commits:
commit 87b027bb59c30b1a330b88664a1a822a9aa563e0
Author: Jeremy Huddleston <jeremyhu at freedesktop.org>
Date: Fri May 23 02:28:13 2008 -0700
1.4.0-apple13
diff --git a/configure.ac b/configure.ac
index aaf32a2..8e357fa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,7 +26,7 @@ dnl
dnl Process this file with autoconf to create configure.
AC_PREREQ(2.57)
-AC_INIT([xorg-server], 1.4.0-apple12, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xorg-server)
+AC_INIT([xorg-server], 1.4.0-apple13, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xorg-server)
AC_CONFIG_SRCDIR([Makefile.am])
AM_INIT_AUTOMAKE([dist-bzip2 foreign])
AM_MAINTAINER_MODE
commit 2bb4251b3c6b30dbf1a556e1b51e6f03f02d2529
Author: Jeremy Huddleston <jeremyhu at freedesktop.org>
Date: Fri May 23 02:27:58 2008 -0700
XQuartz: A 2 second delay for launchd socket connections should be sufficient.
diff --git a/hw/xquartz/mach-startup/bundle-main.c b/hw/xquartz/mach-startup/bundle-main.c
index 73c0483..0068e02 100644
--- a/hw/xquartz/mach-startup/bundle-main.c
+++ b/hw/xquartz/mach-startup/bundle-main.c
@@ -437,8 +437,10 @@ int main(int argc, char **argv, char **envp) {
}
#else
void *add_launchd_display_thread(void *data) {
- /* TODO: Really fix this race */
- sleep(5);
+ /* TODO: Really fix this race... we want xinitrc to finish before connections
+ * are accepted on the launchd socket.
+ */
+ sleep(2);
/* Start listening on the launchd fd */
int launchd_fd = launchd_display_fd();
commit 83f72529394be5871671d73b6ef4f8bc83708f8a
Author: Jeremy Huddleston <jeremyhu at freedesktop.org>
Date: Fri May 23 02:10:14 2008 -0700
XQuartz: Add the launchd fd to AllSockets as well
diff --git a/os/connection.c b/os/connection.c
index 0a6e016..8c4bcdc 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
More information about the xorg-commit
mailing list