* dispnew.c (update_text_area): Revert 2006-09-17 change.

Always redraw non-mode-line rows with mouse-face.
This commit is contained in:
Chong Yidong 2007-01-21 23:30:02 +00:00
parent 234e47aaa3
commit fee8b690a2

View file

@ -4391,12 +4391,12 @@ update_text_area (w, vpos)
|| desired_row->phys_height != current_row->phys_height || desired_row->phys_height != current_row->phys_height
|| desired_row->visible_height != current_row->visible_height || desired_row->visible_height != current_row->visible_height
|| current_row->overlapped_p || current_row->overlapped_p
#if 0 /* This next line is necessary for correctly redrawing
/* This causes excessive flickering when mouse is moved across mouse-face areas after scrolling and other operations.
the mode line. Luckily everything seems to work just fine However, it causes excessive flickering when mouse is moved
without doing this. KFS 2006-09-17. */ across the mode line. Luckily, turning it off for the mode
|| current_row->mouse_face_p line doesn't seem to hurt anything. -- cyd. */
#endif || (current_row->mouse_face_p && !current_row->mode_line_p)
|| current_row->x != desired_row->x) || current_row->x != desired_row->x)
{ {
rif->cursor_to (vpos, 0, desired_row->y, desired_row->x); rif->cursor_to (vpos, 0, desired_row->y, desired_row->x);