]> git.eshelyaron.com Git - emacs.git/commitdiff
(EmacsFrameSetCharSize): Set coordinates values to the toplevel widget.
authorFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
Fri, 25 Feb 1994 17:45:51 +0000 (17:45 +0000)
committerFred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
Fri, 25 Feb 1994 17:45:51 +0000 (17:45 +0000)
src/widget.c

index 73e530de1bf515aae5270e5e6d267f8caf715f58..a1282f397ddc4b6bb41cbdde0e23cdcb7207d7e6 100644 (file)
@@ -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);
 }