summaryrefslogtreecommitdiffstats
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-12-24 00:22:39 +0100
committerBram Moolenaar <Bram@vim.org>2018-12-24 00:22:39 +0100
commita42df5934bdc1178ed2ee8cb9c8686975b578497 (patch)
tree64732c9f937ec217720ab991f89248a1b112abe8 /src/structs.h
parent5d24a2257e597fd752e33b2c1e9c19cf9114a517 (diff)
patch 8.1.0630: "wincmd p" does not work after using an autocmd windowv8.1.0630
Problem: "wincmd p" does not work after using an autocmd window. Solution: Store "prevwin" in aco_save_T. (Christian Brabandt, closes #3690)
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h
index 09a566571a..0f37b8f66b 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -3252,6 +3252,7 @@ typedef struct
int use_aucmd_win; /* using aucmd_win */
win_T *save_curwin; /* saved curwin */
win_T *new_curwin; /* new curwin */
+ win_T *save_prevwin; /* saved prevwin */
bufref_T new_curbuf; /* new curbuf */
char_u *globaldir; /* saved value of globaldir */
} aco_save_T;