mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.1.0626: MS-Windows: no resize to fit parent when using --windowid
Problem: MS-Windows: no resize to fit parent when using --windowid. Solution: Pass FALSE for "mustset" in gui_set_shellsize(). (Agorgianitis Loukas, closes #3616)
This commit is contained in:
@@ -687,9 +687,10 @@ gui_init(void)
|
|||||||
gui.shell_created = TRUE;
|
gui.shell_created = TRUE;
|
||||||
|
|
||||||
#ifndef FEAT_GUI_GTK
|
#ifndef FEAT_GUI_GTK
|
||||||
/* Set the shell size, adjusted for the screen size. For GTK this only
|
// 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. */
|
// works after the shell has been opened, thus it is further down.
|
||||||
gui_set_shellsize(TRUE, TRUE, RESIZE_BOTH);
|
// 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)
|
#if defined(FEAT_GUI_MOTIF) && defined(FEAT_MENU)
|
||||||
/* Need to set the size of the menubar after all the menus have been
|
/* Need to set the size of the menubar after all the menus have been
|
||||||
|
@@ -799,6 +799,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
626,
|
||||||
/**/
|
/**/
|
||||||
625,
|
625,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user