summaryrefslogtreecommitdiffstats
path: root/mini-wm.c
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-10-29 14:44:40 +0000
committerJeremy Katz <katzj@redhat.com>2004-10-29 14:44:40 +0000
commit8f8d6d7b94f66b68643140ad5002761e697e7c9d (patch)
treeb2edd41c2a78491e9eb223d9db7cbdac2e869b19 /mini-wm.c
parent7fbf5ebd7ee55cf2b1f807a5912839ec1ff0c659 (diff)
downloadanaconda-8f8d6d7b94f66b68643140ad5002761e697e7c9d.tar.gz
anaconda-8f8d6d7b94f66b68643140ad5002761e697e7c9d.tar.xz
anaconda-8f8d6d7b94f66b68643140ad5002761e697e7c9d.zip
2004-10-29 Kristian Høgsberg <krh@redhat.com>
* mini-wm.c (main): Write acknowledge token back to anaconda to indicate successful connection to the X server. * anaconda (startMiniWM): Wait for token before launching other X clients (#108777).
Diffstat (limited to 'mini-wm.c')
-rw-r--r--mini-wm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mini-wm.c b/mini-wm.c
index 7a1ec03f3..e2bbe9d4b 100644
--- a/mini-wm.c
+++ b/mini-wm.c
@@ -16,6 +16,7 @@
#include <stdio.h>
+#include <unistd.h>
#include <gdk/gdkx.h>
#include <gtk/gtk.h>
@@ -104,6 +105,10 @@ int main( int argc,
mini_wm_start ();
+ /* Indicate back to anaconda that we now have established
+ * connection to the display. */
+ write(1, "#", 1);
+
gtk_main();
return(0);