summaryrefslogtreecommitdiff
path: root/src/popupwin.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-07-12 20:44:37 +0200
committerBram Moolenaar <Bram@vim.org>2020-07-12 20:44:37 +0200
commit83e7450053399942e1c9efa802c568b51d948541 (patch)
treef751dbdc5592285dc85bfb125040593a5b612f8f /src/popupwin.c
parent4d57ba02029071e5947a54766e9f5d42e3bb3008 (diff)
downloadvim-git-83e7450053399942e1c9efa802c568b51d948541.tar.gz
patch 8.2.1196: build failure with normal featuresv8.2.1196
Problem: Build failure with normal features. Solution: Add #ifdef.
Diffstat (limited to 'src/popupwin.c')
-rw-r--r--src/popupwin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/popupwin.c b/src/popupwin.c
index 0af6d52de..59a0bdf78 100644
--- a/src/popupwin.c
+++ b/src/popupwin.c
@@ -3504,10 +3504,12 @@ may_update_popup_mask(int type)
wp = mouse_find_win(&line_cp, &col_cp, IGNORE_POPUP);
if (wp != NULL)
{
+#if defined(FEAT_TERMINAL)
// A terminal window needs to be redrawn.
if (bt_terminal(wp->w_buffer))
redraw_win_later(wp, NOT_VALID);
else
+#endif
{
if (wp != prev_wp)
{