0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.0330: build error with popup window but without terminal

Problem:    Build error with popup window but without terminal.
Solution:   Add #ifdef.
This commit is contained in:
Bram Moolenaar
2020-02-28 22:51:54 +01:00
parent ec084d3356
commit 57c732ed78
2 changed files with 4 additions and 0 deletions

View File

@@ -3506,7 +3506,9 @@ update_popups(void (*win_update)(win_T *wp))
wp->w_winrow -= top_off;
wp->w_wincol -= left_extra;
// cursor position matters in terminal in job mode
#ifdef FEAT_TERMINAL
if (wp != curwin || !term_in_normal_mode())
#endif
{
wp->w_wrow += top_off;
wp->w_wcol += left_extra;