diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-03-30 22:26:38 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-03-30 22:26:38 +0100 |
commit | 4fc8e2f8bb3eb42df0f72cfcc1f8f8e567e7ce4f (patch) | |
tree | 74eb6e02721b996dc728a301ae503f464b1a94ca /src | |
parent | b70a47b77414273755c541f1378ca50966e5ef16 (diff) | |
download | vim-git-4fc8e2f8bb3eb42df0f72cfcc1f8f8e567e7ce4f.tar.gz |
patch 8.1.1097: Motif build failsv8.1.1097
Problem: Motif build fails. (Paul Jolly)
Solution: Only use gui_mch_maximized() for MS-Windows. (closes #4194)
Diffstat (limited to 'src')
-rw-r--r-- | src/gui.c | 6 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -678,7 +678,7 @@ gui_init(void) /* All components of the GUI have been created now */ gui.shell_created = TRUE; -#ifndef FEAT_GUI_GTK +#ifdef FEAT_GUI_MSWIN // 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. // If the window is already maximized (e.g. when --windowid is passed in), @@ -688,6 +688,10 @@ gui_init(void) gui_set_shellsize(FALSE, TRUE, RESIZE_BOTH); else gui_set_shellsize(TRUE, TRUE, RESIZE_BOTH); +#else +# ifndef FEAT_GUI_GTK + 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 diff --git a/src/version.c b/src/version.c index 792afeada..846b816b1 100644 --- a/src/version.c +++ b/src/version.c @@ -772,6 +772,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1097, +/**/ 1096, /**/ 1095, |