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:
parent
990b2375eb
commit
4b0bb6f3a9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user