diff options
| author | Fred Pierresteguy | 1994-03-14 16:44:04 +0000 |
|---|---|---|
| committer | Fred Pierresteguy | 1994-03-14 16:44:04 +0000 |
| commit | a9e3d21271e536be2a80eda64a8c5d8e0c14e0fa (patch) | |
| tree | fb8231231a7bcc5a5b405d24ccb9f2ea0a114d4c /src | |
| parent | bd0d2c58e1b6ed25aed108e820abd9e60256cf13 (diff) | |
| download | emacs-a9e3d21271e536be2a80eda64a8c5d8e0c14e0fa.tar.gz emacs-a9e3d21271e536be2a80eda64a8c5d8e0c14e0fa.zip | |
(EmacsFrameSetCharSize): Set the values of left_pos and
top_pos to the values of the toplevel widget coordinates.
Diffstat (limited to 'src')
| -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) | |||
| 876 | if (columns < 3) columns = 3; /* no way buddy */ | 876 | if (columns < 3) columns = 3; /* no way buddy */ |
| 877 | if (rows < 3) rows = 3; | 877 | if (rows < 3) rows = 3; |
| 878 | 878 | ||
| 879 | f->display.x->left_pos = f->display.x->widget->core.x; | ||
| 880 | f->display.x->top_pos = f->display.x->widget->core.y; | ||
| 881 | |||
| 879 | check_frame_size (f, &rows, &columns); | 882 | check_frame_size (f, &rows, &columns); |
| 880 | f->display.x->vertical_scroll_bar_extra | 883 | f->display.x->vertical_scroll_bar_extra |
| 881 | = (FRAME_HAS_VERTICAL_SCROLL_BARS (f) | 884 | = (FRAME_HAS_VERTICAL_SCROLL_BARS (f) |