Mercurial > emacs
diff src/frame.c @ 11017:f7c4ece024d5
(make_frame): Initialize kboard member.
(make_terminal_frame): Create initial_kboard if not already set.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 15 Mar 1995 01:56:34 +0000 |
parents | 3db086133785 |
children | 6c5aef697fbe |
line wrap: on
line diff
--- 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;