]> git.eshelyaron.com Git - emacs.git/commit
Avoid unneeded recentering when header-line is used
authorEli Zaretskii <eliz@gnu.org>
Sat, 12 Sep 2020 08:06:54 +0000 (11:06 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 12 Sep 2020 08:06:54 +0000 (11:06 +0300)
commit699e40caf634cea11350c59fc64ce5693d378cb4
tree017678a0effa38322c161e751913ad1b314b7e8c
parent7d30ca7f66b546a390b12719245f174aa4765c68
Avoid unneeded recentering when header-line is used

* src/xdisp.c (try_window): Account for header-line height only in
the scroll-margin at the window's top, but not at its bottom.
(Bug#42653)
src/xdisp.c