summaryrefslogtreecommitdiff
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorGeoff Voelker <voelker@cs.washington.edu>1995-11-07 07:26:18 +0000
committerGeoff Voelker <voelker@cs.washington.edu>1995-11-07 07:26:18 +0000
commite8da72529b89918168f1e3bb991408d4ddb1f1e7 (patch)
treec002bb3ed913c5c77dadd0a8cc932d9acd5b778d /src/sysdep.c
parentd96a3b492a59d862fc994d4ff5fbfa8ef2233d17 (diff)
downloademacs-e8da72529b89918168f1e3bb991408d4ddb1f1e7.tar.gz
[HAVE_NTGUI] (init_sys_modes, reset_sys_modes):
Don't initialize terminal mode when using window system. [HAVE_NTGUI] (BUFFER_SIZE_FACTOR): Increase for use with window system. Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index dc47a4a2a0f..96fc515b76c 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -1226,7 +1226,7 @@ init_sys_modes ()
narrow_foreground_group ();
#endif
-#ifdef HAVE_X_WINDOWS
+#ifdef HAVE_WINDOW_SYSTEM
/* Emacs' window system on MSDOG uses the `internal terminal' and therefore
needs the initialization code below. */
if (!read_socket_hook && EQ (Vwindow_system, Qnil))
@@ -1469,7 +1469,7 @@ init_sys_modes ()
#else
setbuf (stdout, _sobuf);
#endif
-#ifdef HAVE_X_WINDOWS
+#ifdef HAVE_WINDOW_SYSTEM
/* Emacs' window system on MSDOG uses the `internal terminal' and therefore
needs the initialization code below. */
if (! read_socket_hook && EQ (Vwindow_system, Qnil))
@@ -1612,7 +1612,7 @@ reset_sys_modes ()
}
if (!term_initted)
return;
-#ifdef HAVE_X_WINDOWS
+#ifdef HAVE_WINDOW_SYSTEM
/* Emacs' window system on MSDOG uses the `internal terminal' and therefore
needs the clean-up code below. */
if (read_socket_hook || !EQ (Vwindow_system, Qnil))
@@ -2403,8 +2403,8 @@ sys_select (nfds, rfds, wfds, efds, timeout)
/* Read keyboard input into the standard buffer,
waiting for at least one character. */
-/* Make all keyboard buffers much bigger when using X windows. */
-#ifdef HAVE_X_WINDOWS
+/* Make all keyboard buffers much bigger when using a window system. */
+#ifdef HAVE_WINDOW_SYSTEM
#define BUFFER_SIZE_FACTOR 16
#else
#define BUFFER_SIZE_FACTOR 1