From 47d531753817dc218c69420e826b4b63b3762289 Mon Sep 17 00:00:00 2001 From: Fred Pierresteguy Date: Fri, 25 Feb 1994 17:45:51 +0000 Subject: [PATCH] (EmacsFrameSetCharSize): Set coordinates values to the toplevel widget. --- src/widget.c | 7 +++++++ 1 file changed, 7 insertions(+) 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); } -- 2.39.5