diff options
author | Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr> | 1994-02-25 17:45:51 +0000 |
---|---|---|
committer | Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr> | 1994-02-25 17:45:51 +0000 |
commit | 20cb34e05d9c73709c4be90c9c9c55ab4595c53e (patch) | |
tree | ceb041a438a11bc61418f6ca39b4cf923a75e266 /src/widget.c | |
parent | c53fdfc3a3ecd358961c5ae4825e5a924f791931 (diff) | |
download | emacs-20cb34e05d9c73709c4be90c9c9c55ab4595c53e.tar.gz |
(EmacsFrameSetCharSize): Set coordinates values to the toplevel widget.
Diffstat (limited to 'src/widget.c')
-rw-r--r-- | src/widget.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/widget.c b/src/widget.c index 73e530de1bf..a1282f397dd 100644 --- a/src/widget.c +++ b/src/widget.c @@ -900,4 +900,11 @@ 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. */ + XtVaSetValues (f->display.x->widget, + XtNx, f->display.x->left_pos, + XtNy, f->display.x->top_pos, + 0); } |