diff options
| author | Xue Fuqiao | 2013-09-04 08:39:34 +0800 |
|---|---|---|
| committer | Xue Fuqiao | 2013-09-04 08:39:34 +0800 |
| commit | adf2fc4a01efe77d73cd52bc9173914ed56ff531 (patch) | |
| tree | a5a280a5554a7bffeaf94fccae29fa3ac1a5d066 /src/w32console.c | |
| parent | 63191d9f2043d2e67657e85a7b3842805dd1dad6 (diff) | |
| parent | 38726039b77db432989fed106c88e9f1aa463281 (diff) | |
| download | emacs-adf2fc4a01efe77d73cd52bc9173914ed56ff531.tar.gz emacs-adf2fc4a01efe77d73cd52bc9173914ed56ff531.zip | |
Merge from mainline.
Diffstat (limited to 'src/w32console.c')
| -rw-r--r-- | src/w32console.c | 16 |
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) | |||
| 53 | static void w32con_delete_glyphs (struct frame *f, int n); | 53 | static void w32con_delete_glyphs (struct frame *f, int n); |
| 54 | static void w32con_reset_terminal_modes (struct terminal *t); | 54 | static void w32con_reset_terminal_modes (struct terminal *t); |
| 55 | static void w32con_set_terminal_modes (struct terminal *t); | 55 | static void w32con_set_terminal_modes (struct terminal *t); |
| 56 | static void w32con_set_terminal_window (struct frame *f, int size); | ||
| 57 | static void w32con_update_begin (struct frame * f); | 56 | static void w32con_update_begin (struct frame * f); |
| 58 | static void w32con_update_end (struct frame * f); | 57 | static void w32con_update_end (struct frame * f); |
| 59 | static WORD w32_face_attributes (struct frame *f, int face_id); | 58 | static 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 | ||
| 500 | static void | ||
| 501 | w32con_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 (); |