# HG changeset patch # User Karl Heuer # Date 801291256 0 # Node ID 54186a96c5b27e1c3f5ac99b494279e80c74dccb # Parent e1834fb53c35f72dc33c7e69e4efc4ccafdbfed1 (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. diff -r e1834fb53c35 -r 54186a96c5b2 src/xfns.c --- 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