Commit 4b0bb6f3 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(fast_find_position): Make sure not to consider rows

not visible in the window.
parent 990b2375
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment