comparison src/window.c @ 83566:ddc474387d53

Import arch branch emacs@sv.gnu.org/emacs--multi-tty--0
author Miles Bader <miles@gnu.org>
date Sun, 13 May 2007 13:26:57 +0000
parents dc002877ce12
children 4c726a40604c
comparison
equal deleted inserted replaced
80895:776cb0a1bb24 83566:ddc474387d53
19 along with GNU Emacs; see the file COPYING. If not, write to 19 along with GNU Emacs; see the file COPYING. If not, write to
20 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 20 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 Boston, MA 02110-1301, USA. */ 21 Boston, MA 02110-1301, USA. */
22 22
23 #include <config.h> 23 #include <config.h>
24 #include <stdio.h>
25
24 #include "lisp.h" 26 #include "lisp.h"
25 #include "buffer.h" 27 #include "buffer.h"
26 #include "keyboard.h" 28 #include "keyboard.h"
27 #include "keymap.h" 29 #include "keymap.h"
28 #include "frame.h" 30 #include "frame.h"
7245 } 7247 }
7246 7248
7247 void 7249 void
7248 init_window_once () 7250 init_window_once ()
7249 { 7251 {
7250 struct frame *f = make_terminal_frame (); 7252 struct frame *f = make_initial_frame ();
7251 XSETFRAME (selected_frame, f); 7253 XSETFRAME (selected_frame, f);
7252 Vterminal_frame = selected_frame; 7254 Vterminal_frame = selected_frame;
7253 minibuf_window = f->minibuffer_window; 7255 minibuf_window = f->minibuffer_window;
7254 selected_window = f->selected_window; 7256 selected_window = f->selected_window;
7255 last_nonminibuf_frame = f; 7257 last_nonminibuf_frame = f;