changeset 6089:e7ac377e8b4d

(EmacsFrameSetCharSize): Set coordinates values to the toplevel widget.
author Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
date Fri, 25 Feb 1994 17:45:51 +0000
parents 8e38fcb2df96
children e7c900a464d3
files src/widget.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/widget.c	Fri Feb 25 09:29:20 1994 +0000
+++ b/src/widget.c	Fri Feb 25 17:45:51 1994 +0000
@@ -900,4 +900,11 @@
      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);
 }