summaryrefslogtreecommitdiff
path: root/src/vim.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vim.h b/src/vim.h
index 96bab71cf..83ffb293f 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -1485,6 +1485,11 @@ typedef UINT32_TYPEDEF UINT32_T;
#define MIN_COLUMNS 12 /* minimal columns for screen */
#define MIN_LINES 2 /* minimal lines for screen */
#define STATUS_HEIGHT 1 /* height of a status line under a window */
+#ifdef FEAT_MENU /* height of a status line under a window */
+# define WINBAR_HEIGHT(wp) (wp)->w_winbar_height
+#else
+# define WINBAR_HEIGHT(wp) 0
+#endif
#define QF_WINHEIGHT 10 /* default height for quickfix window */
/*