changeset 13416:58e22ceabff4

[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.
author Geoff Voelker <voelker@cs.washington.edu>
date Tue, 07 Nov 1995 07:26:18 +0000
parents 5c4c0319a6e7
children db5deab8a955
files src/sysdep.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Tue Nov 07 07:25:15 1995 +0000
+++ b/src/sysdep.c	Tue Nov 07 07:26:18 1995 +0000
@@ -1226,7 +1226,7 @@
     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 @@
 #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 @@
     }
   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 @@
 /* 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