aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1997-05-30 05:13:47 +0000
committerRichard M. Stallman1997-05-30 05:13:47 +0000
commit67f41c5d961722e6f13e8b73f1ae48c5f9c85939 (patch)
tree173c69a28797ca68daed98f18967ee0fc2231d53 /src
parente814a15920cf817330a9336e5987df57c12d8e91 (diff)
downloademacs-67f41c5d961722e6f13e8b73f1ae48c5f9c85939.tar.gz
emacs-67f41c5d961722e6f13e8b73f1ae48c5f9c85939.zip
(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 7a31b26ec5e..6b97a7d1615 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -1011,8 +1011,8 @@ x_real_positions (f, xptr, yptr)
1011 x_uncatch_errors (FRAME_X_DISPLAY (f), count); 1011 x_uncatch_errors (FRAME_X_DISPLAY (f), count);
1012 } 1012 }
1013 1013
1014 *xptr = win_x; 1014 *xptr = win_x - f->output_data.x->border_width;
1015 *yptr = win_y; 1015 *yptr = win_y - f->output_data.x->border_width;
1016} 1016}
1017 1017
1018/* Insert a description of internally-recorded parameters of frame X 1018/* Insert a description of internally-recorded parameters of frame X