summaryrefslogtreecommitdiffstats
path: root/src/macros.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-01 21:57:29 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-01 21:57:29 +0100
commit219c7d063823498be22aae46dd024d77b5fb2a58 (patch)
treed6e8c1a525626c2e7224271ee8113cf81c7839d9 /src/macros.h
parentab067a21b9622513ed75f4801b001606eeaf2474 (diff)
patch 8.2.0191: cannot put a terminal in a popup windowv8.2.0191
Problem: Cannot put a terminal in a popup window. Solution: Allow opening a terminal in a popup window. It will always have keyboard focus until closed.
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/macros.h b/src/macros.h
index 6631d4d9ba..ce226e3efe 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -345,8 +345,10 @@
// Give an error in curwin is a popup window and evaluate to TRUE.
#ifdef FEAT_PROP_POPUP
# define ERROR_IF_POPUP_WINDOW error_if_popup_window()
+# define ERROR_IF_TERM_POPUP_WINDOW error_if_term_popup_window()
#else
# define ERROR_IF_POPUP_WINDOW 0
+# define ERROR_IF_TERM_POPUP_WINDOW 0
#endif