changeset 83578:d7ab14bae858

(Fdelete_frame): Only get kboard when MULTI_KBOARD defined. (make_terminal_frame) [WINDOWSNT]: Initialize terminal.
author Jason Rumney <jasonr@gnu.org>
date Tue, 15 May 2007 23:05:27 +0000
parents 18107165859d
children 8244ea66b7a6
files src/frame.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.c	Tue May 15 23:04:35 2007 +0000
+++ b/src/frame.c	Tue May 15 23:05:27 2007 +0000
@@ -603,7 +603,9 @@
 #else
 #ifdef WINDOWSNT
   f->output_method = output_termcap;
-  f->output_data.x = &tty_display; /* XXX ??? */
+  f->terminal = terminal;
+  f->terminal->reference_count++;
+  create_w32cons_output (f);
 #else
 #ifdef MAC_OS8
   make_mac_terminal_frame (f);
@@ -1553,8 +1555,10 @@
         else
           delete_terminal (terminal);
       }
+#ifdef MULTI_KBOARD
     else
       kb = terminal->kboard;
+#endif
   }
 
   /* If we've deleted the last_nonminibuf_frame, then try to find