]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0414: Flicker when drawing window separator and pum is shown v9.2.0414
authorYasuhiro Matsumoto <mattn.jp@gmail.com>
Wed, 29 Apr 2026 15:58:42 +0000 (15:58 +0000)
committerChristian Brabandt <cb@256bit.org>
Wed, 29 Apr 2026 15:58:42 +0000 (15:58 +0000)
commit458fed4f65668b0c6d97b46669bb3aceb8b6422f
tree7a70c2197e67bd5d80fd61fee5bbb9974a4e54e0
parentc5de8231f436d47ca5daf4f4d5d91c55632f52ce
patch 9.2.0414: Flicker when drawing window separator and pum is shown

Problem:  In a vertical split where the pum overlaps the windows vsep column,
          background draws (vsep at cursor row, status line,
          redraw_vseps, idle ins_redraw) can write into cells that are
          covered by the pum, because skip_for_popup() only protects
          those cells while pum_will_redraw is set.
Solution: In skip_for_popup(), also skip cells under a visible pum when
          the current draw is not the pum itself (screen_zindex
          POPUPMENU_ZINDEX).  Exclude the wildmenu pum (MODE_CMDLINE):
          while the cmdline grows, pum_row is briefly stale and
          protecting those cells would blank a cell of the wrapped
          cmdline row (Yasuhiro Matsumoto).

closes: #20093

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