1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00

(fast_find_position): Make sure not to consider rows

not visible in the window.
This commit is contained in:
Gerd Moellmann 2000-03-23 11:49:14 +00:00
parent 990b2375eb
commit 4b0bb6f3a9

View File

@ -6764,6 +6764,9 @@ fast_find_position (w, pos, hpos, vpos, x, y)
best_row = row;
best_row_vpos = row_vpos;
}
if (row->y + row->height >= yb)
break;
++row;
++row_vpos;