# HG changeset patch # User aidan # Date 1132316637 0 # Node ID 135bb6aa3ee277e6927776524bb33d7b17c4f326 # Parent 35ef5091b281e640e5712a0c689fb0e7a5352c6b [xemacs-hg @ 2005-11-18 12:23:55 by aidan] Restore old window configuration behaviour for VM, BBDB diff -r 35ef5091b281 -r 135bb6aa3ee2 src/ChangeLog --- a/src/ChangeLog Fri Nov 18 11:28:10 2005 +0000 +++ b/src/ChangeLog Fri Nov 18 12:23:57 2005 +0000 @@ -1,3 +1,9 @@ +2005-11-18 Aidan Kehoe + + * 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 * sound.c (USED_IF_HAVE_NATIVE_OR_NAS, USED_IF_HAVE_ANY): diff -r 35ef5091b281 -r 135bb6aa3ee2 src/window.c --- a/src/window.c Fri Nov 18 11:28:10 2005 +0000 +++ b/src/window.c Fri Nov 18 12:23:57 2005 +0000 @@ -4314,7 +4314,14 @@ 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