diff options
| author | Dmitry Antipov | 2013-08-27 07:52:21 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2013-08-27 07:52:21 +0400 |
| commit | 9fed97293c8bc78eef679db1ae3cab468ecc473e (patch) | |
| tree | 679239fa933440b9192c8503704f1b35bc885303 /src/w32console.c | |
| parent | 9e89d835b04c20a8cd3dfad452fa827d675b0938 (diff) | |
| download | emacs-9fed97293c8bc78eef679db1ae3cab468ecc473e.tar.gz emacs-9fed97293c8bc78eef679db1ae3cab468ecc473e.zip | |
* lisp.h (Mouse_HLInfo): Move from here...
* dispextern.h (Mouse_HLInfo): ...to here and offload lisp.h.
(reset_mouse_highlight): New function.
* msdos.c (dos_set_window_size, IT_update_begin)
(internal_terminal_init):
* nsterm.m (ns_update_window_end, x_free_frame_resources)
(ns_initialize_display_info):
* w32console.c (initialize_w32_display):
* w32term.c (x_update_window_end, x_free_frame_resources)
(w32_initialize_display_info):
* xterm.c (x_update_window_end, x_free_frame_resources, x_term_init):
* window.c (Fdelete_other_windows_internal):
* xdisp.c (clear_mouse_face, cancel_mouse_face): Use it.
* termchar.h (toplevel):
* xterm.h (toplevel): Include dispextern.h.
Diffstat (limited to 'src/w32console.c')
| -rw-r--r-- | src/w32console.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/w32console.c b/src/w32console.c index ee92a593301..a707344efc8 100644 --- a/src/w32console.c +++ b/src/w32console.c | |||
| @@ -636,13 +636,7 @@ initialize_w32_display (struct terminal *term, int *width, int *height) | |||
| 636 | term->frame_up_to_date_hook = 0; | 636 | term->frame_up_to_date_hook = 0; |
| 637 | 637 | ||
| 638 | /* Initialize the mouse-highlight data. */ | 638 | /* Initialize the mouse-highlight data. */ |
| 639 | hlinfo = &term->display_info.tty->mouse_highlight; | 639 | 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 | 640 | ||
| 647 | /* Initialize interrupt_handle. */ | 641 | /* Initialize interrupt_handle. */ |
| 648 | init_crit (); | 642 | init_crit (); |