]>
Commit | Line | Data |
---|---|---|
5634d1d6 ER |
1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.063 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.3.063 | |
11 | Problem: Win32: Running a filter command makes Vim lose focus. | |
12 | Solution: Use SW_SHOWMINNOACTIVE instead of SW_SHOWMINIMIZED. (Hong Xu) | |
13 | Files: src/os_win32.c | |
14 | ||
15 | ||
16 | *** ../vim-7.3.062/src/os_win32.c 2010-11-10 15:37:00.000000000 +0100 | |
17 | --- src/os_win32.c 2010-11-24 12:31:46.000000000 +0100 | |
18 | *************** | |
19 | *** 3185,3193 **** | |
20 | * It's nicer to run a filter command in a minimized window, but in | |
21 | * Windows 95 this makes the command MUCH slower. We can't do it under | |
22 | * Win32s either as it stops the synchronous spawn workaround working. | |
23 | */ | |
24 | if ((options & SHELL_DOOUT) && !mch_windows95() && !gui_is_win32s()) | |
25 | ! si.wShowWindow = SW_SHOWMINIMIZED; | |
26 | else | |
27 | si.wShowWindow = SW_SHOWNORMAL; | |
28 | si.cbReserved2 = 0; | |
29 | --- 3185,3194 ---- | |
30 | * It's nicer to run a filter command in a minimized window, but in | |
31 | * Windows 95 this makes the command MUCH slower. We can't do it under | |
32 | * Win32s either as it stops the synchronous spawn workaround working. | |
33 | + * Don't activate the window to keep focus on Vim. | |
34 | */ | |
35 | if ((options & SHELL_DOOUT) && !mch_windows95() && !gui_is_win32s()) | |
36 | ! si.wShowWindow = SW_SHOWMINNOACTIVE; | |
37 | else | |
38 | si.wShowWindow = SW_SHOWNORMAL; | |
39 | si.cbReserved2 = 0; | |
40 | *** ../vim-7.3.062/src/version.c 2010-11-16 19:25:56.000000000 +0100 | |
41 | --- src/version.c 2010-11-24 12:32:52.000000000 +0100 | |
42 | *************** | |
43 | *** 716,717 **** | |
44 | --- 716,719 ---- | |
45 | { /* Add new patch number below this line */ | |
46 | + /**/ | |
47 | + 63, | |
48 | /**/ | |
49 | ||
50 | -- | |
51 | SOLDIER: Where did you get the coconuts? | |
52 | ARTHUR: Through ... We found them. | |
53 | SOLDIER: Found them? In Mercea. The coconut's tropical! | |
54 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
55 | ||
56 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
57 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
58 | \\\ an exciting new programming language -- http://www.Zimbu.org /// | |
59 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |