changeset 30159:1b0331a7c724

(try_window_reusing_current_matrix, try_window_id): Before scrolling, turn off a mouse-highlight in the window being scrolled.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 12 Jul 2000 15:09:01 +0000
parents 84d54b049d67
children 432da5a9f734
files src/xdisp.c
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Wed Jul 12 11:55:03 2000 +0000
+++ b/src/xdisp.c	Wed Jul 12 15:09:01 2000 +0000
@@ -9615,8 +9615,9 @@
 	    {
 	      update_begin (f);
 	      rif->update_window_begin_hook (w);
+	      rif->clear_mouse_face (w);
 	      rif->scroll_run_hook (w, &run);
-	      rif->update_window_end_hook (w, 0);
+	      rif->update_window_end_hook (w, 0, 0);
 	      update_end (f);
 	    }
 
@@ -9783,8 +9784,9 @@
 	  struct frame *f = XFRAME (WINDOW_FRAME (w));
 	  update_begin (f);
 	  rif->update_window_begin_hook (w);
+	  rif->clear_mouse_face (w);
 	  rif->scroll_run_hook (w, &run);
-	  rif->update_window_end_hook (w, 0);
+	  rif->update_window_end_hook (w, 0, 0);
 	  update_end (f);
 	}
 
@@ -10456,8 +10458,9 @@
       if (FRAME_WINDOW_P (f))
 	{
 	  rif->update_window_begin_hook (w);
+	  rif->clear_mouse_face (w);
 	  rif->scroll_run_hook (w, &run);
-	  rif->update_window_end_hook (w, 0);
+	  rif->update_window_end_hook (w, 0, 0);
 	}
       else
 	{