We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1a344ac + ad0e4f9 commit d8bc23fCopy full SHA for d8bc23f
1 file changed
src/gui.c
@@ -687,11 +687,17 @@ gui_init(void)
687
gui.shell_created = TRUE;
688
689
#ifndef FEAT_GUI_GTK
690
+#ifdef FEAT_GUI_MACVIM
691
+ // The below code setting gui_set_shellsize breaks guioption-k, so patching
692
+ // around it here by passing TRUE to muset.
693
+ gui_set_shellsize(TRUE, TRUE, RESIZE_BOTH);
694
+#else
695
// Set the shell size, adjusted for the screen size. For GTK this only
696
// works after the shell has been opened, thus it is further down.
697
// For MS-Windows pass FALSE for "mustset" to make --windowid work.
698
gui_set_shellsize(FALSE, TRUE, RESIZE_BOTH);
699
#endif
700
+#endif
701
#if defined(FEAT_GUI_MOTIF) && defined(FEAT_MENU)
702
/* Need to set the size of the menubar after all the menus have been
703
* created. */
0 commit comments