diff options
author | Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr> | 1994-03-14 16:44:04 +0000 |
---|---|---|
committer | Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr> | 1994-03-14 16:44:04 +0000 |
commit | 18ba8516dbf865f6307a5b5a4bf5581570ce8cb7 (patch) | |
tree | d961d083d1b50e22d004e8306847fc6e413ed543 | |
parent | 6213ac493fc418ab9d44b33072f751bb62d62f6e (diff) | |
download | emacs-18ba8516dbf865f6307a5b5a4bf5581570ce8cb7.tar.gz |
(EmacsFrameSetCharSize): Set the values of left_pos and
top_pos to the values of the toplevel widget coordinates.
-rw-r--r-- | src/widget.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widget.c b/src/widget.c index eb593f15b7d..aabd63accd6 100644 --- a/src/widget.c +++ b/src/widget.c @@ -876,6 +876,9 @@ EmacsFrameSetCharSize (widget, columns, rows) if (columns < 3) columns = 3; /* no way buddy */ if (rows < 3) rows = 3; + f->display.x->left_pos = f->display.x->widget->core.x; + f->display.x->top_pos = f->display.x->widget->core.y; + check_frame_size (f, &rows, &columns); f->display.x->vertical_scroll_bar_extra = (FRAME_HAS_VERTICAL_SCROLL_BARS (f) |