aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKaroly Lorentey2004-01-24 19:32:29 +0000
committerKaroly Lorentey2004-01-24 19:32:29 +0000
commit2441679b4ca544b055fe90273d1dbc22744761de (patch)
treee83e89d52c1640f78027d7e4aef99809bc6d83e2 /src
parent9ae44db9cce6aefe5012afbfa8bbbb1757ee1b92 (diff)
downloademacs-2441679b4ca544b055fe90273d1dbc22744761de.tar.gz
emacs-2441679b4ca544b055fe90273d1dbc22744761de.zip
Set the keyboard of the initial frame correctly.
src/dispnew.c (init_display)[MULTI_KBOARD]: Change the kboard of the initial frame to that of the tty. (Fixes --eval bug reported by Romain Francoise.) git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-63
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index b62fd8f8b8f..1bd54a589c4 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -6697,6 +6697,9 @@ For types not defined in VMS, use define emacs_term \"TYPE\".\n\
6697 abort (); 6697 abort ();
6698 f->output_method = d->type; 6698 f->output_method = d->type;
6699 f->display = d; 6699 f->display = d;
6700#ifdef MULTI_KBOARD
6701 f->kboard = d->display_info.tty->kboard;
6702#endif
6700 6703
6701 d->reference_count++; 6704 d->reference_count++;
6702 d->display_info.tty->top_frame = selected_frame; 6705 d->display_info.tty->top_frame = selected_frame;