]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fdelete_frame): Only get kboard when MULTI_KBOARD defined.
authorJason Rumney <jasonr@gnu.org>
Tue, 15 May 2007 23:05:27 +0000 (23:05 +0000)
committerJason Rumney <jasonr@gnu.org>
Tue, 15 May 2007 23:05:27 +0000 (23:05 +0000)
(make_terminal_frame) [WINDOWSNT]: Initialize terminal.

src/frame.c

index 740dac812c2dd1d3e6401a0e18c9560a9fdb1c24..859802995afe7055e502333b397b7331928c0f97 100644 (file)
@@ -603,7 +603,9 @@ make_terminal_frame (struct terminal *terminal)
 #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 @@ The functions are run with one arg, the frame to be deleted.  */)
         else
           delete_terminal (terminal);
       }
+#ifdef MULTI_KBOARD
     else
       kb = terminal->kboard;
+#endif
   }
 
   /* If we've deleted the last_nonminibuf_frame, then try to find