# HG changeset patch # User Karl Heuer # Date 795232594 0 # Node ID f7c4ece024d50e0991ba8828b17aa21847f3891f # Parent 8d8eef563e1332e3297e4729af7fef8df1a77ff3 (make_frame): Initialize kboard member. (make_terminal_frame): Create initial_kboard if not already set. diff -r 8d8eef563e13 -r f7c4ece024d5 src/frame.c --- a/src/frame.c Wed Mar 15 01:55:24 1995 +0000 +++ b/src/frame.c Wed Mar 15 01:56:34 1995 +0000 @@ -179,6 +179,9 @@ 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 @@ 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;