From a9e3d21271e536be2a80eda64a8c5d8e0c14e0fa Mon Sep 17 00:00:00 2001 From: Fred Pierresteguy Date: Mon, 14 Mar 1994 16:44:04 +0000 Subject: [PATCH] (EmacsFrameSetCharSize): Set the values of left_pos and top_pos to the values of the toplevel widget coordinates. --- src/widget.c | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.39.5