]> git.eshelyaron.com Git - emacs.git/commitdiff
(show_mouse_face): Clear mouse face to eol.
authorKim F. Storm <storm@cua.dk>
Fri, 4 Nov 2005 10:14:54 +0000 (10:14 +0000)
committerKim F. Storm <storm@cua.dk>
Fri, 4 Nov 2005 10:14:54 +0000 (10:14 +0000)
src/xdisp.c

index 4258a99982f44c1be22c0560cdc70363d7e2f139..b8f375968afd4a2656bf412fd86aa55e0c225f8d 100644 (file)
@@ -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)
            {