Mercurial > emacs
diff src/dispnew.c @ 111345:8ed4db9b46e6
Fix mouse redesigned mouse highlight on MSDOS.
dispnew.c (init_display): Setup initial frame's output_data for
text terminal frames.
frame.h (MOUSE_HL_INFO): Fix TTY definition.
msdos.h (initialize_msdos_display): Add prototype.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 05 Nov 2010 14:11:22 +0200 |
parents | e302712538dc |
children | 22fafcf25a54 |
line wrap: on
line diff
--- a/src/dispnew.c Fri Nov 05 12:03:17 2010 +0200 +++ b/src/dispnew.c Fri Nov 05 14:11:22 2010 +0200 @@ -6424,6 +6424,12 @@ f->terminal = t; t->reference_count++; +#ifdef MSDOS + f->output_data.tty->display_info = &the_only_display_info; +#else + if (f->output_method == output_termcap) + create_tty_output (f); +#endif t->display_info.tty->top_frame = selected_frame; change_frame_size (XFRAME (selected_frame), FrameRows (t->display_info.tty),