Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/gui.c
Original file line number Diff line number Diff line change
Expand Up @@ -687,11 +687,17 @@ gui_init(void)
gui.shell_created = TRUE;

#ifndef FEAT_GUI_GTK
#ifdef FEAT_GUI_MACVIM
// The below code setting gui_set_shellsize breaks guioption-k, so patching
// around it here by passing TRUE to muset.
gui_set_shellsize(TRUE, TRUE, RESIZE_BOTH);
#else
// Set the shell size, adjusted for the screen size. For GTK this only
// works after the shell has been opened, thus it is further down.
// For MS-Windows pass FALSE for "mustset" to make --windowid work.
gui_set_shellsize(FALSE, TRUE, RESIZE_BOTH);
#endif
#endif
#if defined(FEAT_GUI_MOTIF) && defined(FEAT_MENU)
/* Need to set the size of the menubar after all the menus have been
* created. */
Expand Down