summaryrefslogtreecommitdiffstats
path: root/src/tag.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tag.c')
-rw-r--r--src/tag.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tag.c b/src/tag.c
index e288e4d839..0c36db9838 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -3693,6 +3693,11 @@ jumpto_tag(
}
#endif
}
+#if defined(FEAT_QUICKFIX) && defined(FEAT_TEXT_PROP)
+ if (WIN_IS_POPUP(curwin))
+ // something went wrong, still in popup, but it can't have focus
+ win_enter(firstwin, TRUE);
+#endif
erret:
#if defined(FEAT_QUICKFIX)