]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.1.1920: cannot always close a popup when filter consumes all events v8.1.1920
authorBram Moolenaar <Bram@vim.org>
Sat, 24 Aug 2019 17:36:00 +0000 (19:36 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 24 Aug 2019 17:36:00 +0000 (19:36 +0200)
commitf63962378dc32c7253e4825b4b0f414a81c1dd3e
tree46ec1a7ae20b1e6d2b5e3ecf3a4c241b9791639c
parent4645104be4c521dfdd43621c19e96bda3cac7be2
patch 8.1.1920: cannot always close a popup when filter consumes all events

Problem:    Cannot close a popup by the X when a filter consumes all events.
Solution:   Check for a click on the close button before invoking filters.
            (closes #4858)
src/popupwin.c
src/proto/popupwin.pro
src/testdir/dumps/Test_popupwin_close_04.dump [new file with mode: 0644]
src/testdir/dumps/Test_popupwin_close_05.dump [new file with mode: 0644]
src/testdir/test_popupwin.vim
src/ui.c
src/version.c