However, it causes excessive flickering when mouse is moved
across the mode line. Luckily, turning it off for the mode
line doesn't seem to hurt anything. -- cyd.
- But it is still needed for the header line. -- kfs. */
+ But it is still needed for the header line. -- kfs.
+ The header line vpos is 1 if a tab line is enabled. (18th
+ Apr 2022) */
|| (current_row->mouse_face_p
- && !(current_row->mode_line_p && vpos > 0))
+ && !(current_row->mode_line_p
+ && (vpos > w->current_matrix->tab_line_p)))
|| current_row->x != desired_row->x)
{
output_cursor_to (w, vpos, 0, desired_row->y, desired_row->x);