aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2007-02-22 19:52:41 +0000
committerKim F. Storm2007-02-22 19:52:41 +0000
commita75b65c4f94d4d71938101cc6c4f33486ea02ab5 (patch)
treea1f0bf5a8341614471e0fa1f02d495e296cc0f26 /src
parente973477d60c6d736b01770728fbfc70c25fdfd41 (diff)
downloademacs-a75b65c4f94d4d71938101cc6c4f33486ea02ab5.tar.gz
emacs-a75b65c4f94d4d71938101cc6c4f33486ea02ab5.zip
(update_text_area): Clear mouse face on header lines.
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 7841ffac76a..489c7c647e1 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -4398,8 +4398,10 @@ update_text_area (w, vpos)
4398 mouse-face areas after scrolling and other operations. 4398 mouse-face areas after scrolling and other operations.
4399 However, it causes excessive flickering when mouse is moved 4399 However, it causes excessive flickering when mouse is moved
4400 across the mode line. Luckily, turning it off for the mode 4400 across the mode line. Luckily, turning it off for the mode
4401 line doesn't seem to hurt anything. -- cyd. */ 4401 line doesn't seem to hurt anything. -- cyd.
4402 || (current_row->mouse_face_p && !current_row->mode_line_p) 4402 But it is still needed for the header line. -- kfs. */
4403 || (current_row->mouse_face_p
4404 && !(current_row->mode_line_p && vpos > 0))
4403 || current_row->x != desired_row->x) 4405 || current_row->x != desired_row->x)
4404 { 4406 {
4405 rif->cursor_to (vpos, 0, desired_row->y, desired_row->x); 4407 rif->cursor_to (vpos, 0, desired_row->y, desired_row->x);