aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFred Pierresteguy1994-02-25 17:45:51 +0000
committerFred Pierresteguy1994-02-25 17:45:51 +0000
commit47d531753817dc218c69420e826b4b63b3762289 (patch)
treed1086fa867668e5740eaa3ce5e9a3779e332cb93 /src
parent13ce2d73e47d1c9c10075e7b0b3f9b3fbbae98d5 (diff)
downloademacs-47d531753817dc218c69420e826b4b63b3762289.tar.gz
emacs-47d531753817dc218c69420e826b4b63b3762289.zip
(EmacsFrameSetCharSize): Set coordinates values to the toplevel widget.
Diffstat (limited to 'src')
-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)
900 for, then the event won't cause the screen to become garbaged, so 900 for, then the event won't cause the screen to become garbaged, so
901 we have to make sure to do it here. */ 901 we have to make sure to do it here. */
902 SET_FRAME_GARBAGED (f); 902 SET_FRAME_GARBAGED (f);
903
904 /* Coordinates of the toplevel widget seem to have been lost.
905 So set it to the rignt values. */
906 XtVaSetValues (f->display.x->widget,
907 XtNx, f->display.x->left_pos,
908 XtNy, f->display.x->top_pos,
909 0);
903} 910}