On Wed, Oct 2, 2019 at 12:29 AM Juri Linkov <
address@hidden> wrote:
> Is this on Windows?
Yes.
The problem doesn't happen if the frame is maximized in height (with --fullheight or --fullscreen) because then the frame is, quite logically, not resized.
> OTOH, for the tool-bar the problem exists:
>
> (let ((initial (assq 'outer-size (frame-geometry))))
> (tool-bar-mode 1)
> (tool-bar-mode 0)
> (list (assq 'outer-size (frame-geometry)) initial))
>
> => ((outer-size 678 . 587) (outer-size 678 . 633))
(let ((initial (assq 'outer-size (frame-geometry))))
(tool-bar-mode 1)
(tool-bar-mode 0)
(list (assq 'outer-size (frame-geometry)) initial))
((outer-size 689 . 671) (outer-size 689 . 671))
so no problem with tool-bar.