From 8a658d94211c7be8ad5e14b6081982c681b25315 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Fri, 4 Nov 2005 10:14:54 +0000 Subject: [PATCH] (show_mouse_face): Clear mouse face to eol. --- src/xdisp.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 4258a99982f..b8f375968af 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -21332,7 +21332,11 @@ show_mouse_face (dpyinfo, draw) if (row == last) end_hpos = dpyinfo->mouse_face_end_col; else - end_hpos = row->used[TEXT_AREA]; + { + end_hpos = row->used[TEXT_AREA]; + if (draw == DRAW_NORMAL_TEXT) + row->fill_line_p = 1; /* Clear to end of line */ + } if (end_hpos > start_hpos) { -- 2.39.2