diff src/gui.c @ 3014:342b17608967 v7.3.279

updated for version 7.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)
author Bram Moolenaar <bram@vim.org>
date Wed, 10 Aug 2011 17:44:45 +0200
parents 7653420fdc45
children 3ecf9e91d88a
line wrap: on
line diff
--- a/src/gui.c
+++ b/src/gui.c
@@ -1407,7 +1407,7 @@ gui_set_shellsize(mustset, fit_to_displa
     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())