Mercurial > emacs
changeset 11900:54186a96c5b2
(x_set_frame_parameters): Pass 1 as change_gravity
when calling x_set_offset.
(x_real_positions): Don't add border_width into win_x, win_y.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 24 May 1995 04:54:16 +0000 |
parents | e1834fb53c35 |
children | 8ecc60a02138 |
files | src/xfns.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfns.c Wed May 24 04:43:12 1995 +0000 +++ b/src/xfns.c Wed May 24 04:54:16 1995 +0000 @@ -886,7 +886,7 @@ f->display.x->win_gravity = NorthWestGravity; /* Actually set that position, and convert to absolute. */ - x_set_offset (f, leftpos, toppos, 0); + x_set_offset (f, leftpos, toppos, 1); } if ((!NILP (icon_left) || !NILP (icon_top)) @@ -949,8 +949,10 @@ /* Child of win. */ &child); +#if 0 /* The values seem to be right without this and wrong with. */ win_x += f->display.x->border_width; win_y += f->display.x->border_width; +#endif } /* It is possible for the window returned by the XQueryNotify