Mercurial > vim
comparison src/tag.c @ 20384:42ab4d40e78f v8.2.0747
patch 8.2.0747: cannot forcefully close all popups
Commit: https://github.com/vim/vim/commit/03a9f848175b182372fb33403998059724a8bf31
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed May 13 13:40:16 2020 +0200
patch 8.2.0747: cannot forcefully close all popups
Problem: Cannot forcefully close all popups.
Solution: Add the "force" argument to popup_clear(). Use it after running a
test. Put back the check for a popup when editing a file.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 13 May 2020 13:45:04 +0200 |
parents | aadd1cae2ff5 |
children | 808edde1e97d |
comparison
equal
deleted
inserted
replaced
20383:1ebebb9b62e7 | 20384:42ab4d40e78f |
---|---|
3682 { | 3682 { |
3683 win_T *wp = curwin; | 3683 win_T *wp = curwin; |
3684 | 3684 |
3685 if (win_valid(curwin_save)) | 3685 if (win_valid(curwin_save)) |
3686 win_enter(curwin_save, TRUE); | 3686 win_enter(curwin_save, TRUE); |
3687 popup_close(wp->w_id); | 3687 popup_close(wp->w_id, FALSE); |
3688 } | 3688 } |
3689 #endif | 3689 #endif |
3690 } | 3690 } |
3691 #if defined(FEAT_QUICKFIX) && defined(FEAT_PROP_POPUP) | 3691 #if defined(FEAT_QUICKFIX) && defined(FEAT_PROP_POPUP) |
3692 if (WIN_IS_POPUP(curwin)) | 3692 if (WIN_IS_POPUP(curwin)) |