Commit 2add4349 authored by Gerd Moellmann's avatar Gerd Moellmann

(coordinates_in_window): Take frame's internal border width

into account.
parent bed0c171
No preview for this file type
......@@ -464,9 +464,11 @@ coordinates_in_window (w, x, y)
}
else
{
left_x = WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X (w);
left_x = (WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X (w)
- FRAME_INTERNAL_BORDER_WIDTH (f));
right_x = WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X (w);
top_y = WINDOW_DISPLAY_TOP_EDGE_PIXEL_Y (w);
top_y = (WINDOW_DISPLAY_TOP_EDGE_PIXEL_Y (w)
- FRAME_INTERNAL_BORDER_WIDTH (f));
bottom_y = WINDOW_DISPLAY_BOTTOM_EDGE_PIXEL_Y (w);
}
......
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