summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-05-30 05:13:47 +0000
committerRichard M. Stallman <rms@gnu.org>1997-05-30 05:13:47 +0000
commitb0ebba58cb56dbec78b5955d9263ce742f66757a (patch)
tree6fb7208bfd6131130755bc20506987fc24d7f07b /src
parent75a03700583c43150e03bb704e8b5c5576e3a848 (diff)
downloademacs-b0ebba58cb56dbec78b5955d9263ce742f66757a.tar.gz
(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)
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