(make_terminal_frame): Remove special case for WINDOWSNT.
authorJason Rumney <jasonr@gnu.org>
Tue, 25 Sep 2007 08:54:10 +0000 (08:54 +0000)
committerJason Rumney <jasonr@gnu.org>
Tue, 25 Sep 2007 08:54:10 +0000 (08:54 +0000)
src/ChangeLog
src/frame.c

index 6500d15..d01a502 100644 (file)
@@ -1,3 +1,14 @@
+2007-09-25  Jason Rumney  <jasonr@gnu.org>
+
+       * frame.c (make_terminal_frame): Remove special case for WINDOWSNT.
+
+       * w32console.c (create_w32cons_output): Remove.
+
+       * term.c (init_tty): Call init_sys_modes on WINDOWSNT also.
+
+       * sysdep.c (init_sys_modes): Use set_terminal_modes_hook.
+       (reset_sys_modes): Use reset_terminal_modes_hook.
+
 2007-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * eval.c (do_autoload): Don't output any message.
index 6596111..aa7f4ad 100644 (file)
@@ -601,12 +601,6 @@ make_terminal_frame (struct terminal *terminal)
   else
     f->output_method = output_termcap;
 #else
-#ifdef WINDOWSNT
-  f->output_method = output_termcap;
-  f->terminal = terminal;
-  f->terminal->reference_count++;
-  create_w32cons_output (f);
-#else
 #ifdef MAC_OS8
   make_mac_terminal_frame (f);
 #else
@@ -635,7 +629,6 @@ make_terminal_frame (struct terminal *terminal)
   FRAME_BACKGROUND_PIXEL(f) = FACE_TTY_DEFAULT_BG_COLOR;
 #endif
 #endif /* MAC_OS8 */
-#endif /* WINDOWSNT */
 #endif /* MSDOS */
 
   if (!noninteractive)