summaryrefslogtreecommitdiff
path: root/src/widget.c
diff options
context:
space:
mode:
authorFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>1994-03-14 16:44:04 +0000
committerFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>1994-03-14 16:44:04 +0000
commit18ba8516dbf865f6307a5b5a4bf5581570ce8cb7 (patch)
treed961d083d1b50e22d004e8306847fc6e413ed543 /src/widget.c
parent6213ac493fc418ab9d44b33072f751bb62d62f6e (diff)
downloademacs-18ba8516dbf865f6307a5b5a4bf5581570ce8cb7.tar.gz
(EmacsFrameSetCharSize): Set the values of left_pos and
top_pos to the values of the toplevel widget coordinates.
Diffstat (limited to 'src/widget.c')
-rw-r--r--src/widget.c3
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)