Mercurial > emacs
changeset 15891:dbc8c9c9d819
(x_set_scroll_bar_width): Call x_set_window_size when arg is nil.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 21 Aug 1996 04:53:08 +0000 |
parents | c2ef756791fe |
children | 6a4227841dec |
files | src/xfns.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfns.c Tue Aug 20 21:22:41 1996 +0000 +++ b/src/xfns.c Wed Aug 21 04:53:08 1996 +0000 @@ -1962,6 +1962,8 @@ { FRAME_SCROLL_BAR_PIXEL_WIDTH (f) = 0; FRAME_SCROLL_BAR_COLS (f) = 2; + if (FRAME_X_WINDOW (f)) + x_set_window_size (f, 0, FRAME_WIDTH (f), FRAME_HEIGHT (f)); } else if (INTEGERP (arg) && XINT (arg) > 0 && XFASTINT (arg) != FRAME_SCROLL_BAR_PIXEL_WIDTH (f))