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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user