# HG changeset patch # User james # Date 1028820604 0 # Node ID e6409999af4b15fa41d9c1c612c1053962d631b0 # Parent b7fa959034cab40508efd7b197c6285f88f83117 [xemacs-hg @ 2002-08-08 15:29:53 by james] Count only half of the divider width against the left window when splitting horizontally. diff -r b7fa959034ca -r e6409999af4b src/ChangeLog --- 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 + + * window.c (Fsplit_window): Count only half of the divider width + against the left window when splitting horizontally. + 2002-07-29 Jerry James * lread.c (locate_file): Any nonnegative return value indicates diff -r b7fa959034ca -r e6409999af4b src/window.c --- 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