mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
(x_set_scroll_bar_width): Call x_set_window_size when arg is nil.
This commit is contained in:
parent
5b2b26d52a
commit
a90ab37216
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user