]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1380: 'eventignorewin' only checked for current buffer v9.1.1380
authorSean Dewar <6256228+seandewar@users.noreply.github.com>
Sun, 11 May 2025 11:45:21 +0000 (13:45 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 11 May 2025 11:45:21 +0000 (13:45 +0200)
commitd4110e06952be7d06ba39cf0434626bbd7301a9d
treeabca14a0b3c4d598e31c0fa61d080c92cffba8f0
parent73440245361f3399b88c872236830da3086ad942
patch 9.1.1380: 'eventignorewin' only checked for current buffer

Problem:  When an autocommand executes for a non-current buffer,
          'eventignorewin' is only checked from the buffer's last
          wininfo (overwrites win_ignore in the loop), not from the
          value of 'eventignorewin' in all windows showing the buffer as
          described (after v9.1.1084)

Solution: Fix the check and don't use wininfo, as that may only contain
          windows that recently showed the buffer. Consider all the
          buffer's windows in all tabpages (Sean Dewar).

closes: #17294

Signed-off-by: Sean Dewar <6256228+seandewar@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/autocmd.c
src/testdir/test_autocmd.vim
src/version.c