changeset 66694:4e54f245caa7

(show_mouse_face): Clear mouse face to eol.
author Kim F. Storm <storm@cua.dk>
date Fri, 04 Nov 2005 10:14:54 +0000
parents 7c9c30c7c4c4
children 0ade01371c2e
files src/xdisp.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Fri Nov 04 10:14:36 2005 +0000
+++ b/src/xdisp.c	Fri Nov 04 10:14:54 2005 +0000
@@ -21332,7 +21332,11 @@
 	  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)
 	    {