Mercurial > hg > xemacs-beta
comparison src/window.c @ 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 | c925bacdda60 |
children | a123f88fa975 |
comparison
equal
deleted
inserted
replaced
955:b7fa959034ca | 956:e6409999af4b |
---|---|
3836 { | 3836 { |
3837 if (!NILP (horflag)) | 3837 if (!NILP (horflag)) |
3838 /* In the new scheme, we are symmetric with respect to separators | 3838 /* In the new scheme, we are symmetric with respect to separators |
3839 so there is no need to do weird things here. */ | 3839 so there is no need to do weird things here. */ |
3840 { | 3840 { |
3841 psize = WINDOW_WIDTH (o) >> 1; | 3841 psize = (WINDOW_WIDTH (o) + window_divider_width (o)) >> 1; |
3842 csize = window_pixel_width_to_char_width (o, psize, 0); | 3842 csize = window_pixel_width_to_char_width (o, psize, 0); |
3843 } | 3843 } |
3844 else | 3844 else |
3845 { | 3845 { |
3846 psize = WINDOW_HEIGHT (o) >> 1; | 3846 psize = WINDOW_HEIGHT (o) >> 1; |