changeset 7579:782afa5d95cb

(EmacsFrameSetCharSize): Once again preserve x and y pos, but not the same way as before.
author Richard M. Stallman <rms@gnu.org>
date Thu, 19 May 1994 23:36:01 +0000
parents f5aa65299489
children 68044af924e8
files src/widget.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/widget.c	Thu May 19 23:32:48 1994 +0000
+++ b/src/widget.c	Thu May 19 23:36:01 1994 +0000
@@ -894,6 +894,9 @@
     {
       int hdelta = pixel_height - ew->core.height;
       int column_widget_height = f->display.x->column_widget->core.height;
+      int old_left = f->display.x->widget->core.x;
+      int old_top = f->display.x->widget->core.y;
+
       XawPanedSetRefigureMode (f->display.x->column_widget, False);
 
       ac = 0;
@@ -907,6 +910,10 @@
       XtSetValues (f->display.x->column_widget, al, ac);
 
       XawPanedSetRefigureMode (f->display.x->column_widget, True);
+
+      /* These seem to get clobbered.  I don't know why. - rms.  */
+      f->display.x->widget->core.x = old_left;
+      f->display.x->widget->core.y = old_top;
     }
 
   /* We've set {FRAME,PIXEL}_{WIDTH,HEIGHT} to the values we hope to