diff src/xdisp.c @ 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 50f828c2b337
children f8d550ae3b06 693e794b57bf
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)
 	    {