diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2013-08-27 07:52:21 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2013-08-27 07:52:21 +0400 |
commit | 9fed97293c8bc78eef679db1ae3cab468ecc473e (patch) | |
tree | 679239fa933440b9192c8503704f1b35bc885303 /src/w32console.c | |
parent | 9e89d835b04c20a8cd3dfad452fa827d675b0938 (diff) | |
download | emacs-9fed97293c8bc78eef679db1ae3cab468ecc473e.tar.gz |
* 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) term->frame_up_to_date_hook = 0; /* Initialize the mouse-highlight data. */ - hlinfo = &term->display_info.tty->mouse_highlight; - hlinfo->mouse_face_beg_row = hlinfo->mouse_face_beg_col = -1; - hlinfo->mouse_face_end_row = hlinfo->mouse_face_end_col = -1; - hlinfo->mouse_face_face_id = DEFAULT_FACE_ID; - hlinfo->mouse_face_mouse_frame = NULL; - hlinfo->mouse_face_window = Qnil; - hlinfo->mouse_face_hidden = 0; + reset_mouse_highlight (&term->display_info.tty->mouse_highlight); /* Initialize interrupt_handle. */ init_crit (); |