changeset 956:e6409999af4b

[xemacs-hg @ 2002-08-08 15:29:53 by james] Count only half of the divider width against the left window when splitting horizontally.
author james
date Thu, 08 Aug 2002 15:30:04 +0000
parents b7fa959034ca
children c017b187b1ec
files src/ChangeLog src/window.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Aug 07 22:24:36 2002 +0000
+++ b/src/ChangeLog	Thu Aug 08 15:30:04 2002 +0000
@@ -1,3 +1,8 @@
+2002-08-06  Jerry James  <james@xemacs.org>
+
+ 	* window.c (Fsplit_window): Count only half of the divider width
+ 	against the left window when splitting horizontally.
+
 2002-07-29  Jerry James  <james@xemacs.org>
 
 	* lread.c (locate_file): Any nonnegative return value indicates
--- a/src/window.c	Wed Aug 07 22:24:36 2002 +0000
+++ b/src/window.c	Thu Aug 08 15:30:04 2002 +0000
@@ -3838,7 +3838,7 @@
 	/* In the new scheme, we are symmetric with respect to separators
 	   so there is no need to do weird things here. */
 	{
-	  psize = WINDOW_WIDTH (o) >> 1;
+	  psize = (WINDOW_WIDTH (o) + window_divider_width (o)) >> 1;
 	  csize = window_pixel_width_to_char_width (o, psize, 0);
         }
       else