summaryrefslogtreecommitdiff
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-08-10 17:44:45 +0200
committerBram Moolenaar <Bram@vim.org>2011-08-10 17:44:45 +0200
commit12bc1b5c9fa6b68993ac20a211529ff459523ada (patch)
tree02d7543ba90767aec4bf3f077b6d3e174bfe4869 /src/gui.c
parent17fb0e891a0aee09a2c27660eb0ea489520aaa56 (diff)
downloadvim-git-12bc1b5c9fa6b68993ac20a211529ff459523ada.tar.gz
updated for version 7.3.279v7.3.279
Problem: With GTK, when gvim is full-screen and a tab is opened and using a specific monitor configuration the window is too big. Solution: Adjust the window size like on MS-Windows. (Yukihiro Nakadaira)
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui.c b/src/gui.c
index d7024a82f..a4e2bfe97 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -1407,7 +1407,7 @@ gui_set_shellsize(mustset, fit_to_display, direction)
if (!gui.shell_created)
return;
-#ifdef MSWIN
+#if defined(MSWIN) || defined(FEAT_GUI_GTK)
/* If not setting to a user specified size and maximized, calculate the
* number of characters that fit in the maximized window. */
if (!mustset && gui_mch_maximized())