summaryrefslogtreecommitdiff
path: root/src/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gui.c b/src/gui.c
index c086de037..af648443f 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -1142,6 +1142,11 @@ gui_position_components(total_width)
text_area_y = TOOLBAR_BUTTON_HEIGHT + TOOLBAR_BORDER_HEIGHT;
#endif
+#if defined(FEAT_GUI_TABLINE) && defined(FEAT_GUI_MSWIN)
+ if (gui_has_tabline())
+ text_area_y += TABLINE_HEIGHT;
+#endif
+
#if defined(FEAT_TOOLBAR) && (defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA))
if (vim_strchr(p_go, GO_TOOLBAR) != NULL)
{
@@ -1223,6 +1228,10 @@ gui_get_base_height()
base_height += gui.toolbar_height;
# endif
# endif
+# if defined(FEAT_GUI_TABLINE) && defined(FEAT_GUI_MSWIN)
+ if (gui_has_tabline())
+ base_height += TABLINE_HEIGHT;
+# endif
# ifdef FEAT_FOOTER
if (vim_strchr(p_go, GO_FOOTER) != NULL)
base_height += gui.footer_height;
@@ -3924,6 +3933,11 @@ gui_update_scrollbars(force)
# endif
#endif
+#if defined(FEAT_GUI_TABLINE) && defined(FEAT_GUI_MSWIN)
+ if (gui_has_tabline())
+ y += TABLINE_HEIGHT;
+#endif
+
#ifdef FEAT_WINDOWS
if (wp->w_winrow == 0)
#endif