aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1997-05-30 05:13:47 +0000
committerRichard M. Stallman <[email protected]>1997-05-30 05:13:47 +0000
commit67f41c5d961722e6f13e8b73f1ae48c5f9c85939 (patch)
tree173c69a28797ca68daed98f18967ee0fc2231d53 /src
parente814a15920cf817330a9336e5987df57c12d8e91 (diff)
(x_real_positions): Subtract border width from results.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 7a31b26ec5..6b97a7d161 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -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