summaryrefslogtreecommitdiffstats
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-06-02 18:40:06 +0200
committerBram Moolenaar <Bram@vim.org>2019-06-02 18:40:06 +0200
commit3397f74ac2ac27f1eef48e950c3c8eeb0338fe55 (patch)
tree7ca95e2cfc692c2d90830948c4a4a6c1b620cd22 /src/gui.c
parentb0ebbda06cf1a4a7c40cb274529c4c53de534e32 (diff)
patch 8.1.1453: popup window "moved" property not implemented yetv8.1.1453
Problem: Popup window "moved" property not implemented yet. Solution: Implement it.
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui.c b/src/gui.c
index 8edc86cd76..c4df7d9a57 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -5117,6 +5117,9 @@ gui_update_screen(void)
/* Trigger CursorMoved if the cursor moved. */
if (!finish_op && (has_cursormoved()
+# ifdef FEAT_TEXT_PROP
+ || popup_visible
+# endif
# ifdef FEAT_CONCEAL
|| curwin->w_p_cole > 0
# endif
@@ -5124,6 +5127,10 @@ gui_update_screen(void)
{
if (has_cursormoved())
apply_autocmds(EVENT_CURSORMOVED, NULL, NULL, FALSE, curbuf);
+#ifdef FEAT_TEXT_PROP
+ if (popup_visible)
+ popup_check_cursor_pos();
+#endif
# ifdef FEAT_CONCEAL
if (curwin->w_p_cole > 0)
{