From: Richard M. Stallman Date: Wed, 21 Aug 1996 04:53:08 +0000 (+0000) Subject: (x_set_scroll_bar_width): Call x_set_window_size when arg is nil. X-Git-Tag: emacs-20.1~4053 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a90ab37216495ce1f6143e7935ac0befaba3d334;p=emacs.git (x_set_scroll_bar_width): Call x_set_window_size when arg is nil. --- diff --git a/src/xfns.c b/src/xfns.c index 4b3ce08f741..a8bf946c596 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -1962,6 +1962,8 @@ x_set_scroll_bar_width (f, arg, oldval) { 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))