diff options
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/window.c b/src/window.c index 6ef32608a56..e40572bf13d 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -2842,7 +2842,7 @@ window-start value is reasonable when this function is called. */) | |||
| 2842 | block_input (); | 2842 | block_input (); |
| 2843 | if (!FRAME_INITIAL_P (f)) | 2843 | if (!FRAME_INITIAL_P (f)) |
| 2844 | { | 2844 | { |
| 2845 | Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); | 2845 | Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); |
| 2846 | 2846 | ||
| 2847 | /* We are going to free the glyph matrices of WINDOW, and with | 2847 | /* We are going to free the glyph matrices of WINDOW, and with |
| 2848 | that we might lose any information about glyph rows that have | 2848 | that we might lose any information about glyph rows that have |
| @@ -2852,11 +2852,7 @@ window-start value is reasonable when this function is called. */) | |||
| 2852 | frame's up-to-date hook that mouse highlight was overwritten, | 2852 | frame's up-to-date hook that mouse highlight was overwritten, |
| 2853 | so that it will arrange for redisplaying the highlight. */ | 2853 | so that it will arrange for redisplaying the highlight. */ |
| 2854 | if (EQ (hlinfo->mouse_face_window, window)) | 2854 | if (EQ (hlinfo->mouse_face_window, window)) |
| 2855 | { | 2855 | reset_mouse_highlight (hlinfo); |
| 2856 | hlinfo->mouse_face_beg_row = hlinfo->mouse_face_beg_col = -1; | ||
| 2857 | hlinfo->mouse_face_end_row = hlinfo->mouse_face_end_col = -1; | ||
| 2858 | hlinfo->mouse_face_window = Qnil; | ||
| 2859 | } | ||
| 2860 | } | 2856 | } |
| 2861 | free_window_matrices (r); | 2857 | free_window_matrices (r); |
| 2862 | 2858 | ||