mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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)
This commit is contained in:
@@ -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())
|
||||
|
Reference in New Issue
Block a user