Loading ...
Sorry, an error occurred while loading the content.
 

Re: A patch making gvim not to lose its focus when executing an external program in background on Windows

Expand Messages
  • Bram Moolenaar
    ... Sounds like a good idea. I don t know if this would cause trouble sometimes. Let s just include and and back it out again when someone complains. --
    Message 1 of 2 , Nov 24, 2010
      Hong Xu wrote:

      > The attachment is a patch which makes vim not to lose its focus when
      > executing an external program in background on Windows. It is always
      > annoying when use "system()" function to execute a program in background
      > and gvim loses its focus (the focus was set to the console window owned by
      > the subprocess) until the subprocess terminates. Hope this patch does not
      > conflict any other code.

      Sounds like a good idea. I don't know if this would cause trouble
      sometimes. Let's just include and and back it out again when someone
      complains.


      --
      SOLDIER: What? Ridden on a horse?
      ARTHUR: Yes!
      SOLDIER: You're using coconuts!
      "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

      /// Bram Moolenaar -- Bram@... -- 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 ///

      --
      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
    Your message has been successfully submitted and would be delivered to recipients shortly.