summaryrefslogtreecommitdiff
path: root/src/widget.c
diff options
context:
space:
mode:
authorFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>1994-02-25 17:45:51 +0000
committerFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>1994-02-25 17:45:51 +0000
commit47d531753817dc218c69420e826b4b63b3762289 (patch)
treed1086fa867668e5740eaa3ce5e9a3779e332cb93 /src/widget.c
parent13ce2d73e47d1c9c10075e7b0b3f9b3fbbae98d5 (diff)
downloademacs-47d531753817dc218c69420e826b4b63b3762289.tar.gz
(EmacsFrameSetCharSize): Set coordinates values to the toplevel widget.
Diffstat (limited to 'src/widget.c')
-rw-r--r--src/widget.c7
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);
}