User: aidan   
  Date: 05/11/18 13:23:59
  Modified:    xemacs/src ChangeLog window.c
Log:
Restore old window configuration behaviour for VM, BBDB
Revision  Changes    Path
1.886     +6 -0      XEmacs/xemacs/src/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/ChangeLog,v
retrieving revision 1.885
retrieving revision 1.886
diff -u -p -r1.885 -r1.886
--- ChangeLog	2005/11/16 07:22:44	1.885
+++ ChangeLog	2005/11/18 12:23:55	1.886
@@ -1,3 +1,9 @@
+2005-11-18  Aidan Kehoe  <kehoea(a)parhasard.net>
+
+	* window.c (change_window_height): Have change_window_height
+	change the window width when requested to do so; fixes bugs and
+	error messages with VM, BBDB. 
+
 2005-11-16  Stephen J. Turnbull  <stephen(a)xemacs.org>
 
 	* sound.c (USED_IF_HAVE_NATIVE_OR_NAS, USED_IF_HAVE_ANY):
1.89      +8 -1      XEmacs/xemacs/src/window.c
Index: window.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/window.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -p -r1.88 -r1.89
--- window.c	2005/10/25 11:16:30	1.88
+++ window.c	2005/11/18 12:23:57	1.89
@@ -4314,7 +4314,14 @@ change_window_height (Lisp_Object window
       if (NILP (parent))
 	{
 	  if (widthflag)
-	    invalid_operation ("No other window to side of this one", Qunbound);
+	    {
+	      int new_pixsize;
+	      sizep = &CURSIZE (w);
+	      dim = CURCHARSIZE (w);
+	      new_pixsize = inpixels?(*sizep + delta):(dim+delta);
+	      set_window_pixsize (window, new_pixsize, 0, 0);
+	      return;
+	    }
 	  break;
 	}
       if (widthflag