]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.063 v7.3.063
authorBram Moolenaar <Bram@vim.org>
Wed, 24 Nov 2010 11:35:21 +0000 (12:35 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 24 Nov 2010 11:35:21 +0000 (12:35 +0100)
Problem:    Win32: Running a filter command makes Vim lose focus.
Solution:   Use SW_SHOWMINNOACTIVE instead of SW_SHOWMINIMIZED. (Hong Xu)

src/os_win32.c
src/version.c

index 423ea8903732ac7249f865434f41d9c88be6d5e2..0dd7a82864820160185ce1d66b6f39a919929876 100644 (file)
@@ -3185,9 +3185,10 @@ mch_system(char *cmd, int options)
      * It's nicer to run a filter command in a minimized window, but in
      * Windows 95 this makes the command MUCH slower.  We can't do it under
      * Win32s either as it stops the synchronous spawn workaround working.
+     * Don't activate the window to keep focus on Vim.
      */
     if ((options & SHELL_DOOUT) && !mch_windows95() && !gui_is_win32s())
-       si.wShowWindow = SW_SHOWMINIMIZED;
+       si.wShowWindow = SW_SHOWMINNOACTIVE;
     else
        si.wShowWindow = SW_SHOWNORMAL;
     si.cbReserved2 = 0;
index da022457b4f242915e592ea32e760b17dd25ba9f..37c5af2de2c0bc530c7793deafc2636fbce6aa0c 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    63,
 /**/
     62,
 /**/