Commit 67f41c5d authored by Richard M. Stallman's avatar Richard M. Stallman

(x_real_positions): Subtract border width from results.

parent e814a159
......@@ -1011,8 +1011,8 @@ x_real_positions (f, xptr, yptr)
x_uncatch_errors (FRAME_X_DISPLAY (f), count);
*xptr = win_x;
*yptr = win_y;
*xptr = win_x - f->output_data.x->border_width;
*yptr = win_y - f->output_data.x->border_width;
/* Insert a description of internally-recorded parameters of frame X
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