summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorGeorge Lebl <jirka@5z.com>2001-10-25 09:05:27 +0000
committerGeorge Lebl <jirka@src.gnome.org>2001-10-25 09:05:27 +0000
commit6f429ed27f6a582bdc91523af35cb7541a3da235 (patch)
treefdd8a192c141d0930b1a8f9d139ca0e923bf93a4 /utils
parentdf3e0d581591e4369558c3b1b4ecc805f00ce9da (diff)
downloadgdm-6f429ed27f6a582bdc91523af35cb7541a3da235.tar.gz
fix minor issues
Thu Oct 25 01:49:57 2001 George Lebl <jirka@5z.com> * config/XKeepsCrashing: fix minor issues * daemon/gdm.c: set TEXTDOMAIN and TEXTDOMAINDIR for XKeepsCrashing * utils/gdmopen.c: echo \033(K onto the console to make sure that non lat1 fonts get set up * daemon/gdm.h, daemon/server.c, daemon/slave.c: When starting a server consider loss of connection within 5 seconds a crash no matter what. It seems that for example not being able to open a mouse manifests self AFTER server tells us it's ready and we XOpenDisplay. Actually it's 5 seconds from the USR1, which means 5 seconds after it's ready to accept connections.
Diffstat (limited to 'utils')
-rw-r--r--utils/gdmopen.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/gdmopen.c b/utils/gdmopen.c
index 65a2b70c..00f91b2a 100644
--- a/utils/gdmopen.c
+++ b/utils/gdmopen.c
@@ -171,6 +171,11 @@ main (int argc, char *argv[])
/* wait to be really sure we have switched */
(void) ioctl(fd, VT_WAITACTIVE, vtno);
+#ifdef __linux__
+ /* Turn on fonts */
+ write (0, "\033(K", 3);
+#endif /* __linux__ */
+
execvp (argv[1], &argv[1]);
_exit (66); /* failed */