comparison 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
comparison
equal deleted inserted replaced
3013:655bb25912e9 3014:342b17608967
1405 int x = -1, y = -1; 1405 int x = -1, y = -1;
1406 1406
1407 if (!gui.shell_created) 1407 if (!gui.shell_created)
1408 return; 1408 return;
1409 1409
1410 #ifdef MSWIN 1410 #if defined(MSWIN) || defined(FEAT_GUI_GTK)
1411 /* If not setting to a user specified size and maximized, calculate the 1411 /* If not setting to a user specified size and maximized, calculate the
1412 * number of characters that fit in the maximized window. */ 1412 * number of characters that fit in the maximized window. */
1413 if (!mustset && gui_mch_maximized()) 1413 if (!mustset && gui_mch_maximized())
1414 { 1414 {
1415 gui_mch_newfont(); 1415 gui_mch_newfont();