]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0492: popup: decoration wrongly drawn with clipping on border v9.2.0492
authorYasuhiro Matsumoto <mattn.jp@gmail.com>
Sun, 17 May 2026 09:27:04 +0000 (09:27 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 17 May 2026 09:27:04 +0000 (09:27 +0000)
commit3db4c3a20bd5e19320291dce11053e9e85994ebf
treec6054215e35b6063f11c68879525d637d97de683
parentab24858cf5dfb229969714328c637c1118510e89
patch 9.2.0492: popup: decoration wrongly drawn with clipping on border

Problem:  popup: clipwindow popups with border and padding could still
          spill into the surrounding chrome of the host window
Solution: Consume the border first, then the padding, per edge; spill
          any leftover clip into the opposite edge's decoration; derive
          the bottom padding row from total_height; skip the scrollbar
          branch for clipwindow popups (Yasuhiro Matsumoto).

closes: #20227

Signed-off-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/popupwin.c
src/version.c