summaryrefslogtreecommitdiff
path: root/src/proto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-05-30 17:29:40 +0200
committerBram Moolenaar <Bram@vim.org>2019-05-30 17:29:40 +0200
commit89adc3a1371d211f7766f3dbc0975ecb2f862327 (patch)
tree5ece2c55b14bd899f995e12df256875572c0d23f /src/proto
parent5c3fb04623d0260762f1c3c1ba250a407098ff2a (diff)
downloadvim-git-89adc3a1371d211f7766f3dbc0975ecb2f862327.tar.gz
patch 8.1.1425: win_execute() does not set window pointers properlyv8.1.1425
Problem: Win_execute() does not set window pointers properly. Solution: Use switch_win_noblock(). Also execute autocommands in a popup window.
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/window.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proto/window.pro b/src/proto/window.pro
index b5cbf6922..1424c3de5 100644
--- a/src/proto/window.pro
+++ b/src/proto/window.pro
@@ -77,7 +77,9 @@ void reset_lnums(void);
void make_snapshot(int idx);
void restore_snapshot(int idx, int close_curwin);
int switch_win(win_T **save_curwin, tabpage_T **save_curtab, win_T *win, tabpage_T *tp, int no_display);
+int switch_win_noblock(win_T **save_curwin, tabpage_T **save_curtab, win_T *win, tabpage_T *tp, int no_display);
void restore_win(win_T *save_curwin, tabpage_T *save_curtab, int no_display);
+void restore_win_noblock(win_T *save_curwin, tabpage_T *save_curtab, int no_display);
void switch_buffer(bufref_T *save_curbuf, buf_T *buf);
void restore_buffer(bufref_T *save_curbuf);
int win_hasvertsplit(void);