Commit 50df5e5a authored by Gerd Moellmann's avatar Gerd Moellmann

(coordinates_in_window): Use

FRAME_INTERNAL_BORDER_WIDTH_SAFE instead of
FRAME_INTERNAL_BORDER_WIDTH.
parent 66ce15ca
No preview for this file type
......@@ -468,10 +468,10 @@ coordinates_in_window (w, x, y)
else
{
left_x = (WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X (w)
- FRAME_INTERNAL_BORDER_WIDTH (f));
- FRAME_INTERNAL_BORDER_WIDTH_SAFE (f));
right_x = WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X (w);
top_y = (WINDOW_DISPLAY_TOP_EDGE_PIXEL_Y (w)
- FRAME_INTERNAL_BORDER_WIDTH (f));
- FRAME_INTERNAL_BORDER_WIDTH_SAFE (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