comparison src/dispnew.c @ 83023:6ce586a7243e

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
author Karoly Lorentey <lorentey@elte.hu>
date Sat, 24 Jan 2004 19:32:29 +0000
parents 82c3b4da43ca
children 03a73693678e
comparison
equal deleted inserted replaced
83022:abaf78268f22 83023:6ce586a7243e
6695 /* Convert the initial frame to use the new display. */ 6695 /* Convert the initial frame to use the new display. */
6696 if (! f->output_method == output_initial) 6696 if (! f->output_method == output_initial)
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;
6703 change_frame_size (XFRAME (selected_frame), FrameRows (d->display_info.tty), FrameCols (d->display_info.tty), 0, 0, 1); 6706 change_frame_size (XFRAME (selected_frame), FrameRows (d->display_info.tty), FrameCols (d->display_info.tty), 0, 0, 1);
6704 6707