Commit 4d1add72 authored by Kim F. Storm's avatar Kim F. Storm

(coordinates_in_window): Fix returned y position when

ON_SCROLL_BAR.
parent 55a4ac3e
......@@ -682,7 +682,10 @@ coordinates_in_window (w, x, y)
/* Outside any interesting column? */
if (*x < left_x || *x > right_x)
return ON_SCROLL_BAR;
{
*y -= top_y;
return ON_SCROLL_BAR;
}
lmargin_width = window_box_width (w, LEFT_MARGIN_AREA);
rmargin_width = window_box_width (w, RIGHT_MARGIN_AREA);
......
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