summaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index 85aeeb95..57d7d092 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -488,6 +488,7 @@ EXTERN win_T *prevwin INIT(= NULL); /* previous window */
# define W_NEXT(wp) NULL
# define FOR_ALL_WINDOWS(wp) wp = curwin;
#endif
+
EXTERN win_T *curwin; /* currently active window */
/*
@@ -496,6 +497,15 @@ EXTERN win_T *curwin; /* currently active window */
*/
EXTERN frame_T *topframe; /* top of the window frame tree */
+#ifdef FEAT_WINDOWS
+/*
+ * Tab pages are nothing more than alternative topframes. "first_tabpage"
+ * points to the first one in the list, "topframe" is the current one.
+ */
+EXTERN tabpage_T *first_tabpage;
+EXTERN int redraw_tabpage INIT(= FALSE); /* redraw tab pages line */
+#endif
+
/*
* All buffers are linked in a list. 'firstbuf' points to the first entry,
* 'lastbuf' to the last entry and 'curbuf' to the currently active buffer.