summaryrefslogtreecommitdiff
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-08 17:12:01 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-08 17:12:01 +0200
commit3d2a3cbce873af861031a01e02694dcfae0c4582 (patch)
treed42cb9c8278b7bf9564b0c490fb994a53dd6c704 /src/structs.h
parent4544bd2f247425c9dd743c76618dd70f53c72538 (diff)
downloadvim-git-3d2a3cbce873af861031a01e02694dcfae0c4582.tar.gz
patch 8.1.2009: cursorline highlighting not updated in popup windowv8.1.2009
Problem: Cursorline highlighting not updated in popup window. (Marko Mahnič) Solution: Check if the cursor position changed. (closes #4912)
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h
index ce618b903..0e61f87dd 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -3050,6 +3050,8 @@ struct window_S
int w_popup_prop_topline; // w_topline of window with
// w_popup_prop_type when position was
// computed
+ linenr_T w_popup_last_curline; // last known w_cursor.lnum of window
+ // with "cursorline" set
callback_T w_close_cb; // popup close callback
callback_T w_filter_cb; // popup filter callback
int w_filter_mode; // mode when filter callback is used