summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.0626
diff options
context:
space:
mode:
Diffstat (limited to 'data/vim/patches/8.1.0626')
-rw-r--r--data/vim/patches/8.1.062657
1 files changed, 57 insertions, 0 deletions
diff --git a/data/vim/patches/8.1.0626 b/data/vim/patches/8.1.0626
new file mode 100644
index 000000000..cf3733009
--- /dev/null
+++ b/data/vim/patches/8.1.0626
@@ -0,0 +1,57 @@
+To: vim_dev@googlegroups.com
+Subject: Patch 8.1.0626
+Fcc: outbox
+From: Bram Moolenaar <Bram@moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 8.1.0626
+Problem: MS-Windows: no resize to fit parent when using --windowid.
+Solution: Pass FALSE for "mustset" in gui_set_shellsize(). (Agorgianitis
+ Loukas, closes #3616)
+Files: src/gui.c
+
+
+*** ../vim-8.1.0625/src/gui.c 2018-12-11 20:39:15.446937049 +0100
+--- src/gui.c 2018-12-22 18:42:17.817660355 +0100
+***************
+*** 687,695 ****
+ gui.shell_created = TRUE;
+
+ #ifndef FEAT_GUI_GTK
+! /* 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. */
+! gui_set_shellsize(TRUE, TRUE, RESIZE_BOTH);
+ #endif
+ #if defined(FEAT_GUI_MOTIF) && defined(FEAT_MENU)
+ /* Need to set the size of the menubar after all the menus have been
+--- 687,696 ----
+ gui.shell_created = TRUE;
+
+ #ifndef FEAT_GUI_GTK
+! // 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
+ #if defined(FEAT_GUI_MOTIF) && defined(FEAT_MENU)
+ /* Need to set the size of the menubar after all the menus have been
+*** ../vim-8.1.0625/src/version.c 2018-12-22 18:25:25.900695322 +0100
+--- src/version.c 2018-12-22 18:44:04.220925033 +0100
+***************
+*** 801,802 ****
+--- 801,804 ----
+ { /* Add new patch number below this line */
++ /**/
++ 626,
+ /**/
+
+--
+I wonder how much deeper the ocean would be without sponges.
+
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
+/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\ an exciting new programming language -- http://www.Zimbu.org ///
+ \\\ help me help AIDS victims -- http://ICCF-Holland.org ///