aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32console.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/w32console.c')
-rw-r--r--src/w32console.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/w32console.c b/src/w32console.c
index ee92a593301..8da1ccf1892 100644
--- a/src/w32console.c
+++ b/src/w32console.c
@@ -53,7 +53,6 @@ static void w32con_write_glyphs (struct frame *f, struct glyph *string, int len)
53static void w32con_delete_glyphs (struct frame *f, int n); 53static void w32con_delete_glyphs (struct frame *f, int n);
54static void w32con_reset_terminal_modes (struct terminal *t); 54static void w32con_reset_terminal_modes (struct terminal *t);
55static void w32con_set_terminal_modes (struct terminal *t); 55static void w32con_set_terminal_modes (struct terminal *t);
56static void w32con_set_terminal_window (struct frame *f, int size);
57static void w32con_update_begin (struct frame * f); 56static void w32con_update_begin (struct frame * f);
58static void w32con_update_end (struct frame * f); 57static void w32con_update_end (struct frame * f);
59static WORD w32_face_attributes (struct frame *f, int face_id); 58static WORD w32_face_attributes (struct frame *f, int face_id);
@@ -497,11 +496,6 @@ w32con_update_end (struct frame * f)
497 SetConsoleCursorPosition (cur_screen, cursor_coords); 496 SetConsoleCursorPosition (cur_screen, cursor_coords);
498} 497}
499 498
500static void
501w32con_set_terminal_window (struct frame *f, int size)
502{
503}
504
505/*********************************************************************** 499/***********************************************************************
506 stubs from termcap.c 500 stubs from termcap.c
507 ***********************************************************************/ 501 ***********************************************************************/
@@ -619,7 +613,7 @@ initialize_w32_display (struct terminal *term, int *width, int *height)
619 term->ring_bell_hook = w32_sys_ring_bell; 613 term->ring_bell_hook = w32_sys_ring_bell;
620 term->reset_terminal_modes_hook = w32con_reset_terminal_modes; 614 term->reset_terminal_modes_hook = w32con_reset_terminal_modes;
621 term->set_terminal_modes_hook = w32con_set_terminal_modes; 615 term->set_terminal_modes_hook = w32con_set_terminal_modes;
622 term->set_terminal_window_hook = w32con_set_terminal_window; 616 term->set_terminal_window_hook = NULL;
623 term->update_begin_hook = w32con_update_begin; 617 term->update_begin_hook = w32con_update_begin;
624 term->update_end_hook = w32con_update_end; 618 term->update_end_hook = w32con_update_end;
625 619
@@ -636,13 +630,7 @@ initialize_w32_display (struct terminal *term, int *width, int *height)
636 term->frame_up_to_date_hook = 0; 630 term->frame_up_to_date_hook = 0;
637 631
638 /* Initialize the mouse-highlight data. */ 632 /* Initialize the mouse-highlight data. */
639 hlinfo = &term->display_info.tty->mouse_highlight; 633 reset_mouse_highlight (&term->display_info.tty->mouse_highlight);
640 hlinfo->mouse_face_beg_row = hlinfo->mouse_face_beg_col = -1;
641 hlinfo->mouse_face_end_row = hlinfo->mouse_face_end_col = -1;
642 hlinfo->mouse_face_face_id = DEFAULT_FACE_ID;
643 hlinfo->mouse_face_mouse_frame = NULL;
644 hlinfo->mouse_face_window = Qnil;
645 hlinfo->mouse_face_hidden = 0;
646 634
647 /* Initialize interrupt_handle. */ 635 /* Initialize interrupt_handle. */
648 init_crit (); 636 init_crit ();