comparison src/xfns.c @ 18036:d6297be18ba8

(x_real_positions): Subtract border width from results.
author Richard M. Stallman <rms@gnu.org>
date Fri, 30 May 1997 05:13:47 +0000
parents 7c919d7f8217
children 0a684c540f66
comparison
equal deleted inserted replaced
18035:edf54f605b36 18036:d6297be18ba8
1009 } 1009 }
1010 1010
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
1019 into the parameter alist *ALISTPTR that is to be given to the user. 1019 into the parameter alist *ALISTPTR that is to be given to the user.
1020 Only parameters that are specific to the X window system 1020 Only parameters that are specific to the X window system