Commit b4f0ee5d authored by Karl Heuer's avatar Karl Heuer

(make_frame): Initialize kboard member.

(make_terminal_frame): Create initial_kboard if not already set.
parent c5fdd383
......@@ -179,6 +179,9 @@ make_frame (mini_p)
f->menu_bar_vector = Qnil;
f->menu_bar_items_used = 0;
f->buffer_predicate = Qnil;
#ifdef MULTI_KBOARD
f->kboard = initial_kboard;
#endif
root_window = make_window ();
if (mini_p)
......@@ -332,6 +335,14 @@ make_terminal_frame ()
Lisp_Object frame;
char name[20];
#ifdef MULTI_KBOARD
if (!initial_kboard)
{
initial_kboard = (KBOARD *) xmalloc (sizeof (KBOARD));
init_kboard (initial_kboard);
}
#endif
/* The first call must initialize Vframe_list. */
if (! (NILP (Vframe_list) || CONSP (Vframe_list)))
Vframe_list = Qnil;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment