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

Re: yet another gtk2 vim update

Expand Messages
  • Daniel Elstner
    ... Yep. It looks like the Vim client/server code calls gui_mch_set_foreground() which happens to actually work in the GTK+ 2 GUI, thanks to
    Message 1 of 13 , Feb 26, 2003
    • 0 Attachment
      On Mit, 2003-02-26 at 10:39, Bram Moolenaar wrote:
      > Namsh wrote:
      >
      > > > On Mit, 2003-02-26 at 01:18, Nam SungHyun wrote:
      > > > >
      > > > > Now, I'm very happy with vim-GTK2. It works great like vim-GTK1
      > > > > with a very clean/cool screen/font. Thanks a lot.
      > >
      > > I forgot one thing.
      > > With vim-GTK1:
      > > 1. gvim --servername AAA fileA
      > > 2. iconify gvim.
      > > 3. gvim --servername AAA --remote fileB
      > >
      > > vim-GTK1 stays iconified after step 3. but vim-GTK2 de-iconified.
      > > And personally I like vim-GTK1's operation.
      > > At lease I hope vim-GTK2 do not raise the window. I mean,
      > > in step 2, if I do lower the vim-GTK2, it is raised after
      > > step 3.
      >
      > Actually, the behavior that the server comes to the foreground (raised,
      > not minimized) is correct. This is required for most situations, where
      > you have some program that tells the gvim server to edit a file.
      >
      > Perhaps there are situations where you don't want the server to be
      > raised, but I see that as an exception.

      Yep. It looks like the Vim client/server code calls
      gui_mch_set_foreground() which happens to actually work in the GTK+ 2
      GUI, thanks to gtk_window_present().

      --Daniel
    Your message has been successfully submitted and would be delivered to recipients shortly.