Subject: Setting `scroll-bar-width` Doesn't Take Effect Immediately

From: Shynur Xie <[email-masked]>
Date: Wed, 5 Apr 2023 08:18:00 +0000

Example:

```
$ emacs -Q
```

Now the current buffer is "*scratch*", evaluating:

```
(setq scroll-bar-width 50)
```

changes nothing.

Instead, user need to switch to another buffer and then switch back:

```
(progn
  (setq scroll-bar-width 50)
  (switch-to-buffer "*Messages*")
  (switch-to-buffer "*scratch*"))
```

________________________________________

emacs-version: 28.2
system-configuration: x86_64-w64-mingw32