diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-04-10 05:59:24 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-04-10 05:59:24 +0000 |
commit | c307a6ab5447196ef5cd11833d52e5c2d0f9e3ac (patch) | |
tree | 551b2b74de1d75c7b1444f3f8f40da7959a84061 /src/widget.c | |
parent | f940a2a8c9b8ee8ec48c9e87dec2aaf5f63f1fbf (diff) | |
download | emacs-c307a6ab5447196ef5cd11833d52e5c2d0f9e3ac.tar.gz |
(EmacsFrameSetCharSize): Do not attempt to preserve the window position.
Diffstat (limited to 'src/widget.c')
-rw-r--r-- | src/widget.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/widget.c b/src/widget.c index de2ef27fc49..df146b681cb 100644 --- a/src/widget.c +++ b/src/widget.c @@ -433,7 +433,7 @@ set_frame_size (ew) ew->core.width = pixel_width; ew->core.height = pixel_height; -#if 0 /* We don't need this also. */ +#if 0 /* xfns.c takes care of this now. */ /* If a position was specified, assign it to the shell widget. (Else WM won't do anything with it.) */ @@ -881,9 +881,6 @@ 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) @@ -916,11 +913,4 @@ EmacsFrameSetCharSize (widget, columns, rows) for, then the event won't cause the screen to become garbaged, so we have to make sure to do it here. */ SET_FRAME_GARBAGED (f); - - /* Coordinates of the toplevel widget seem to have been lost. - So set it to the rignt values. */ - ac = 0; - XtSetArg (al[ac], XtNx, f->display.x->left_pos); ac++; - XtSetArg (al[ac], XtNy, f->display.x->top_pos); ac++; - XtSetValues (f->display.x->widget, al, ac); } |