summaryrefslogtreecommitdiffstats
path: root/src/popupwin.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-05-30 17:58:03 +0100
committerBram Moolenaar <Bram@vim.org>2022-05-30 17:58:03 +0100
commit10db31f9493425a20f1e53d0f214e621f16d65de (patch)
tree8d24777588ca48ccc73a0830318d0c3170e7d54f /src/popupwin.c
parentbe99042b03edf7b8156c9adbc23516bfcf2cec0f (diff)
patch 8.2.5045: can escape a terminal popup window when the job is finishedv8.2.5045
Problem: Can escape a terminal popup window when the job is finished. Solution: Only check for a finished job where it is relevant. (closes #10253)
Diffstat (limited to 'src/popupwin.c')
-rw-r--r--src/popupwin.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/popupwin.c b/src/popupwin.c
index c9f4468b50..bb889d5568 100644
--- a/src/popupwin.c
+++ b/src/popupwin.c
@@ -2760,7 +2760,6 @@ error_if_popup_window(int also_with_term UNUSED)
if (WIN_IS_POPUP(curwin)
# ifdef FEAT_TERMINAL
&& (also_with_term || curbuf->b_term == NULL)
- && !term_is_finished(curbuf)
# endif
)
{