aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2007-01-21 23:30:02 +0000
committerChong Yidong2007-01-21 23:30:02 +0000
commitfee8b690a2ada77306c8fb9d59cc437cb15a4736 (patch)
tree531a5137e100e996fa4a4f8cbc65a86586e0f262
parent234e47aaa32cd0b679318a42b4b387918d58e754 (diff)
downloademacs-fee8b690a2ada77306c8fb9d59cc437cb15a4736.tar.gz
emacs-fee8b690a2ada77306c8fb9d59cc437cb15a4736.zip
* dispnew.c (update_text_area): Revert 2006-09-17 change.
Always redraw non-mode-line rows with mouse-face.
-rw-r--r--src/dispnew.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 9182f43f744..172f07c663a 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -4391,12 +4391,12 @@ update_text_area (w, vpos)
4391 || desired_row->phys_height != current_row->phys_height 4391 || desired_row->phys_height != current_row->phys_height
4392 || desired_row->visible_height != current_row->visible_height 4392 || desired_row->visible_height != current_row->visible_height
4393 || current_row->overlapped_p 4393 || current_row->overlapped_p
4394#if 0 4394 /* This next line is necessary for correctly redrawing
4395 /* This causes excessive flickering when mouse is moved across 4395 mouse-face areas after scrolling and other operations.
4396 the mode line. Luckily everything seems to work just fine 4396 However, it causes excessive flickering when mouse is moved
4397 without doing this. KFS 2006-09-17. */ 4397 across the mode line. Luckily, turning it off for the mode
4398 || current_row->mouse_face_p 4398 line doesn't seem to hurt anything. -- cyd. */
4399#endif 4399 || (current_row->mouse_face_p && !current_row->mode_line_p)
4400 || current_row->x != desired_row->x) 4400 || current_row->x != desired_row->x)
4401 { 4401 {
4402 rif->cursor_to (vpos, 0, desired_row->y, desired_row->x); 4402 rif->cursor_to (vpos, 0, desired_row->y, desired_row->x);