|
Karsten Hopp |
d561c2 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
d561c2 |
Subject: Patch 7.3.063
|
|
Karsten Hopp |
d561c2 |
Fcc: outbox
|
|
Karsten Hopp |
d561c2 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
d561c2 |
Mime-Version: 1.0
|
|
Karsten Hopp |
d561c2 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
d561c2 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
d561c2 |
------------
|
|
Karsten Hopp |
d561c2 |
|
|
Karsten Hopp |
d561c2 |
Patch 7.3.063
|
|
Karsten Hopp |
d561c2 |
Problem: Win32: Running a filter command makes Vim lose focus.
|
|
Karsten Hopp |
d561c2 |
Solution: Use SW_SHOWMINNOACTIVE instead of SW_SHOWMINIMIZED. (Hong Xu)
|
|
Karsten Hopp |
d561c2 |
Files: src/os_win32.c
|
|
Karsten Hopp |
d561c2 |
|
|
Karsten Hopp |
d561c2 |
|
|
Karsten Hopp |
d561c2 |
*** ../vim-7.3.062/src/os_win32.c 2010-11-10 15:37:00.000000000 +0100
|
|
Karsten Hopp |
d561c2 |
--- src/os_win32.c 2010-11-24 12:31:46.000000000 +0100
|
|
Karsten Hopp |
d561c2 |
***************
|
|
Karsten Hopp |
d561c2 |
*** 3185,3193 ****
|
|
Karsten Hopp |
d561c2 |
* It's nicer to run a filter command in a minimized window, but in
|
|
Karsten Hopp |
d561c2 |
* Windows 95 this makes the command MUCH slower. We can't do it under
|
|
Karsten Hopp |
d561c2 |
* Win32s either as it stops the synchronous spawn workaround working.
|
|
Karsten Hopp |
d561c2 |
*/
|
|
Karsten Hopp |
d561c2 |
if ((options & SHELL_DOOUT) && !mch_windows95() && !gui_is_win32s())
|
|
Karsten Hopp |
d561c2 |
! si.wShowWindow = SW_SHOWMINIMIZED;
|
|
Karsten Hopp |
d561c2 |
else
|
|
Karsten Hopp |
d561c2 |
si.wShowWindow = SW_SHOWNORMAL;
|
|
Karsten Hopp |
d561c2 |
si.cbReserved2 = 0;
|
|
Karsten Hopp |
d561c2 |
--- 3185,3194 ----
|
|
Karsten Hopp |
d561c2 |
* It's nicer to run a filter command in a minimized window, but in
|
|
Karsten Hopp |
d561c2 |
* Windows 95 this makes the command MUCH slower. We can't do it under
|
|
Karsten Hopp |
d561c2 |
* Win32s either as it stops the synchronous spawn workaround working.
|
|
Karsten Hopp |
d561c2 |
+ * Don't activate the window to keep focus on Vim.
|
|
Karsten Hopp |
d561c2 |
*/
|
|
Karsten Hopp |
d561c2 |
if ((options & SHELL_DOOUT) && !mch_windows95() && !gui_is_win32s())
|
|
Karsten Hopp |
d561c2 |
! si.wShowWindow = SW_SHOWMINNOACTIVE;
|
|
Karsten Hopp |
d561c2 |
else
|
|
Karsten Hopp |
d561c2 |
si.wShowWindow = SW_SHOWNORMAL;
|
|
Karsten Hopp |
d561c2 |
si.cbReserved2 = 0;
|
|
Karsten Hopp |
d561c2 |
*** ../vim-7.3.062/src/version.c 2010-11-16 19:25:56.000000000 +0100
|
|
Karsten Hopp |
d561c2 |
--- src/version.c 2010-11-24 12:32:52.000000000 +0100
|
|
Karsten Hopp |
d561c2 |
***************
|
|
Karsten Hopp |
d561c2 |
*** 716,717 ****
|
|
Karsten Hopp |
d561c2 |
--- 716,719 ----
|
|
Karsten Hopp |
d561c2 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
d561c2 |
+ /**/
|
|
Karsten Hopp |
d561c2 |
+ 63,
|
|
Karsten Hopp |
d561c2 |
/**/
|
|
Karsten Hopp |
d561c2 |
|
|
Karsten Hopp |
d561c2 |
--
|
|
Karsten Hopp |
d561c2 |
SOLDIER: Where did you get the coconuts?
|
|
Karsten Hopp |
d561c2 |
ARTHUR: Through ... We found them.
|
|
Karsten Hopp |
d561c2 |
SOLDIER: Found them? In Mercea. The coconut's tropical!
|
|
Karsten Hopp |
d561c2 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
d561c2 |
|
|
Karsten Hopp |
d561c2 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
d561c2 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
d561c2 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
d561c2 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|