Re: yet another gtk2 vim update
- On Mit, 2003-02-26 at 10:39, Bram Moolenaar wrote:
> Namsh wrote:Yep. It looks like the Vim client/server code calls
> > > 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.
gui_mch_set_foreground() which happens to actually work in the GTK+ 2
GUI, thanks to gtk_window_present().